Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

Commit 8a9f5cc

Browse files
authored
Merge pull request #162 from szepeviktor/patch-1
Fix typehint of User::fillable
2 parents c28b5db + 9951952 commit 8a9f5cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Models/User.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
1616
/**
1717
* The attributes that are mass assignable.
1818
*
19-
* @var array
19+
* @var string[]
2020
*/
2121
protected $fillable = [
2222
'name', 'email',
@@ -25,7 +25,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
2525
/**
2626
* The attributes excluded from the model's JSON form.
2727
*
28-
* @var array
28+
* @var string[]
2929
*/
3030
protected $hidden = [
3131
'password',

0 commit comments

Comments
 (0)