Skip to content

Commit 58c43b8

Browse files
committed
chore: phpstan fixes
1 parent 93fb092 commit 58c43b8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Laravel/Tests/Eloquent/Metadata/ModelMetadataTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)