@@ -22,11 +22,11 @@ |
||
22 | 22 | } |
23 | 23 | |
24 | 24 | return [ |
25 | - __('DASHBOARD') => count($ret) > 1? [ |
|
25 | + __('DASHBOARD') => count($ret) > 1 ? [ |
|
26 | 26 | 'access' => true, |
27 | 27 | 'group' => $ret, |
28 | 28 | 'weight' => -10000 |
29 | - ]: array_merge(reset($ret), ['weight' => -10000]), |
|
29 | + ] : array_merge(reset($ret), ['weight' => -10000]), |
|
30 | 30 | ]; |
31 | 31 | } |
32 | 32 | } |
33 | 33 | \ No newline at end of file |
@@ -8,33 +8,33 @@ |
||
8 | 8 | |
9 | 9 | class User extends Authenticatable |
10 | 10 | { |
11 | - use Notifiable; |
|
12 | - use HasRoles; |
|
11 | + use Notifiable; |
|
12 | + use HasRoles; |
|
13 | 13 | |
14 | - /** |
|
15 | - * The attributes that are mass assignable. |
|
16 | - * |
|
17 | - * @var array |
|
18 | - */ |
|
19 | - protected $fillable = [ |
|
20 | - 'name', 'email', 'password', |
|
21 | - ]; |
|
14 | + /** |
|
15 | + * The attributes that are mass assignable. |
|
16 | + * |
|
17 | + * @var array |
|
18 | + */ |
|
19 | + protected $fillable = [ |
|
20 | + 'name', 'email', 'password', |
|
21 | + ]; |
|
22 | 22 | |
23 | - /** |
|
24 | - * The attributes that should be hidden for arrays. |
|
25 | - * |
|
26 | - * @var array |
|
27 | - */ |
|
28 | - protected $hidden = [ |
|
29 | - 'password', 'remember_token', |
|
30 | - ]; |
|
23 | + /** |
|
24 | + * The attributes that should be hidden for arrays. |
|
25 | + * |
|
26 | + * @var array |
|
27 | + */ |
|
28 | + protected $hidden = [ |
|
29 | + 'password', 'remember_token', |
|
30 | + ]; |
|
31 | 31 | |
32 | - /** |
|
33 | - * The attributes that should be cast to native types. |
|
34 | - * |
|
35 | - * @var array |
|
36 | - */ |
|
37 | - protected $casts = [ |
|
38 | - 'email_verified_at' => 'datetime', |
|
39 | - ]; |
|
32 | + /** |
|
33 | + * The attributes that should be cast to native types. |
|
34 | + * |
|
35 | + * @var array |
|
36 | + */ |
|
37 | + protected $casts = [ |
|
38 | + 'email_verified_at' => 'datetime', |
|
39 | + ]; |
|
40 | 40 | } |