File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 7
7
use Illuminate \Pagination \LengthAwarePaginator ;
8
8
9
9
/**
10
- * @property LengthAwarePaginator $resource
10
+ * @property LengthAwarePaginator<self> $resource
11
11
*/
12
12
class BaseResourceCollection extends ResourceCollection
13
13
{
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class Book extends Model
35
35
/**
36
36
* The attributes that are mass assignable.
37
37
*
38
- * @var array<int, string>
38
+ * @var list< string>
39
39
*/
40
40
protected $ fillable = [
41
41
'title ' ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class Publisher extends Model
37
37
/**
38
38
* The attributes that are mass assignable.
39
39
*
40
- * @var array<int, string>
40
+ * @var list< string>
41
41
*/
42
42
protected $ fillable = [
43
43
'name ' ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class User extends Authenticatable
20
20
/**
21
21
* The attributes that are mass assignable.
22
22
*
23
- * @var array<int, string>
23
+ * @var list< string>
24
24
*/
25
25
protected $ fillable = [
26
26
'name ' ,
@@ -31,7 +31,7 @@ class User extends Authenticatable
31
31
/**
32
32
* The attributes that should be hidden for serialization.
33
33
*
34
- * @var array<int, string>
34
+ * @var list< string>
35
35
*/
36
36
protected $ hidden = [
37
37
'password ' ,
You can’t perform that action at this time.
0 commit comments