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
3737 /**
3838 * @return HasMany<Book>
3939 */
40- public function secret (): HasMany
40+ public function secret (): HasMany // @phpstan-ignore-line
4141 {
42- return $ this ->hasMany (Book::class);
42+ return $ this ->hasMany (Book::class); // @phpstan-ignore-line
4343 }
4444 };
4545
@@ -55,9 +55,9 @@ public function testVisibleAttributesAreCorrectlyIdentified(): void
5555 /**
5656 * @return HasMany<Book>
5757 */
58- public function secret (): HasMany
58+ public function secret (): HasMany // @phpstan-ignore-line
5959 {
60- return $ this ->hasMany (Book::class);
60+ return $ this ->hasMany (Book::class); // @phpstan-ignore-line
6161 }
6262 };
6363
@@ -71,9 +71,9 @@ public function testAllAttributesVisibleByDefault(): void
7171 /**
7272 * @return HasMany<Book>
7373 */
74- public function secret (): HasMany
74+ public function secret (): HasMany // @phpstan-ignore-line
7575 {
76- return $ this ->hasMany (Book::class);
76+ return $ this ->hasMany (Book::class); // @phpstan-ignore-line
7777 }
7878 };
7979
You can’t perform that action at this time.
0 commit comments