Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3748259
D446.id1079.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D446.id1079.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
@@ -27,26 +27,26 @@
*/
protected $hidden = [];
- /**
- * Gets fillable but not hidden attributes, plus create/update time.
- *
- * @return Array
- */
- public function getAttributes () {
- $attributes = array_diff($this->fillable , $this->hidden);
- $attributes[] = 'created_at';
- $attributes[] = 'updated_at';
- array_unshift($attributes, 'id');
- return $attributes;
- }
+ /**
+ * Gets fillable but not hidden attributes, plus create/update time.
+ *
+ * @return Array
+ */
+ public function getAttributes () {
+ $attributes = array_diff($this->fillable , $this->hidden);
+ $attributes[] = 'created_at';
+ $attributes[] = 'updated_at';
+ array_unshift($attributes, 'id');
+ return $attributes;
+ }
/**
* Gets user attached to this source.
*
* @return User
*/
- public function getUser () {
- return User::find($this->user_id);
- }
+ public function getUser () {
+ return User::find($this->user_id);
+ }
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 07:38 (19 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248737
Default Alt Text
D446.id1079.diff (1 KB)
Attached To
Mode
D446: Fix whitespace issue
Attached
Detach File
Event Timeline
Log In to Comment