Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F11722327
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
View Options
diff --git a/app/Models/UserExternalSource.php b/app/Models/UserExternalSource.php
index 39e1237..9e42066 100644
--- a/app/Models/UserExternalSource.php
+++ b/app/Models/UserExternalSource.php
@@ -1,52 +1,52 @@
<?php
namespace AuthGrove\Models;
use Illuminate\Database\Eloquent\Model;
class UserExternalSource extends Model {
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'users_external_sources';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['source_name', 'source_user_id', 'user_id'];
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
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/x-diff
Expires
Thu, Sep 18, 02:07 (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2989798
Default Alt Text
(1 KB)
Attached To
Mode
rGROVE Auth Grove
Attached
Detach File
Event Timeline
Log In to Comment