Page MenuHomeDevCentral

D447.diff
No OneTemporary

D447.diff

diff --git a/app/Models/UserExternalSource.php b/app/Models/UserExternalSource.php
--- a/app/Models/UserExternalSource.php
+++ b/app/Models/UserExternalSource.php
@@ -28,6 +28,15 @@
protected $hidden = [];
/**
+ * The attributes that should be casted to native types.
+ *
+ * @var array
+ */
+ protected $casts = [
+ 'user_id' => 'integer',
+ ];
+
+ /**
* Gets fillable but not hidden attributes, plus create/update time.
*
* @return Array

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 05:35 (21 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248743
Default Alt Text
D447.diff (503 B)

Event Timeline