Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a40431e

Browse files
committed
fix
1 parent 171fdf5 commit a40431e

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

‎tests/PHPStan/Rules/TooWideTypehints/TooWideMethodReturnTypehintRuleTest.php‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -238,16 +238,7 @@ public function testBug13384cPrePhp82(): void
238238
{
239239
$this->reportTooWideBool = true;
240240
$this->reportNestedTooWideType = true;
241-
$this->analyse([__DIR__ . '/data/bug-13384c.php'], [
242-
[
243-
'Method Bug13384c\Bug13384c::doBarPhpdoc() never returns false so the return type can be changed to true.',
244-
55,
245-
],
246-
[
247-
'Method Bug13384c\Bug13384Static::doBarPhpdoc() never returns false so the return type can be changed to true.',
248-
84,
249-
],
250-
]);
241+
$this->analyse([__DIR__ . '/data/bug-13384c.php'], []);
251242
}
252243

253244
public function testBug13384cOff(): void

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /