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 77use Illuminate \Pagination \LengthAwarePaginator ;
88
99/**
10- * @property LengthAwarePaginator $resource
10+ * @property LengthAwarePaginator<self> $resource
1111 */
1212class BaseResourceCollection extends ResourceCollection
1313{
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class Book extends Model
3535 /**
3636 * The attributes that are mass assignable.
3737 *
38- * @var array<int, string>
38+ * @var list< string>
3939 */
4040 protected $ fillable = [
4141 'title ' ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class Publisher extends Model
3737 /**
3838 * The attributes that are mass assignable.
3939 *
40- * @var array<int, string>
40+ * @var list< string>
4141 */
4242 protected $ fillable = [
4343 'name ' ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class User extends Authenticatable
2020 /**
2121 * The attributes that are mass assignable.
2222 *
23- * @var array<int, string>
23+ * @var list< string>
2424 */
2525 protected $ fillable = [
2626 'name ' ,
@@ -31,7 +31,7 @@ class User extends Authenticatable
3131 /**
3232 * The attributes that should be hidden for serialization.
3333 *
34- * @var array<int, string>
34+ * @var list< string>
3535 */
3636 protected $ hidden = [
3737 'password ' ,
You can’t perform that action at this time.
0 commit comments