Page MenuHomeDevCentral

D446.diff
No OneTemporary

D446.diff

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

Mime Type
text/plain
Expires
Sun, Nov 17, 05:33 (21 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248737
Default Alt Text
D446.diff (1 KB)

Event Timeline