File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/Laravel/Tests/Eloquent/Metadata Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ public function testHiddenAttributesAreCorrectlyIdentified(): void
37
37
/**
38
38
* @return HasMany<Book>
39
39
*/
40
- public function secret (): HasMany
40
+ public function secret (): HasMany // @phpstan-ignore-line
41
41
{
42
- return $ this ->hasMany (Book::class);
42
+ return $ this ->hasMany (Book::class); // @phpstan-ignore-line
43
43
}
44
44
};
45
45
@@ -55,9 +55,9 @@ public function testVisibleAttributesAreCorrectlyIdentified(): void
55
55
/**
56
56
* @return HasMany<Book>
57
57
*/
58
- public function secret (): HasMany
58
+ public function secret (): HasMany // @phpstan-ignore-line
59
59
{
60
- return $ this ->hasMany (Book::class);
60
+ return $ this ->hasMany (Book::class); // @phpstan-ignore-line
61
61
}
62
62
};
63
63
@@ -71,9 +71,9 @@ public function testAllAttributesVisibleByDefault(): void
71
71
/**
72
72
* @return HasMany<Book>
73
73
*/
74
- public function secret (): HasMany
74
+ public function secret (): HasMany // @phpstan-ignore-line
75
75
{
76
- return $ this ->hasMany (Book::class);
76
+ return $ this ->hasMany (Book::class); // @phpstan-ignore-line
77
77
}
78
78
};
79
79
You can’t perform that action at this time.
0 commit comments