Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56297507
D446.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D446.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
Thu, Nov 5, 18:40 (3 d, 20 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4250848
Default Alt Text
D446.diff (1 KB)
Attached To
Mode
D446: Fix whitespace issue
Attached
Detach File
Event Timeline
Log In to Comment