Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3747923
D447.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
503 B
Referenced Files
None
Subscribers
None
D447.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D447: UserExternalSource: cast user_id property as integer
Attached
Detach File
Event Timeline
Log In to Comment