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
Sat, Apr 19, 17:50 (2 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2585431
Default Alt Text
D447.diff (503 B)

Event Timeline