File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
tests/Extension/data/ImmediatelyCalledCallableThrowTypeExtension Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ public function testNoThrow(): void
173
173
try {
174
174
$ result = array_map ('ucfirst ' , []);
175
175
} finally {
176
- assertVariableCertainty (TrinaryLogic::createMaybe (), $ result ); // should be Yes https://github.com/phpstan/phpstan-src/pull/3016
176
+ assertVariableCertainty (TrinaryLogic::createYes (), $ result );
177
177
}
178
178
}
179
179
@@ -240,7 +240,7 @@ public function testFirstClassCallableNoThrow(): void
240
240
try {
241
241
$ result = array_map ($ this ->noThrow (...), []);
242
242
} finally {
243
- assertVariableCertainty (TrinaryLogic::createMaybe (), $ result ); // should be Yes https://github.com/phpstan/phpstan-src/pull/3016
243
+ assertVariableCertainty (TrinaryLogic::createYes (), $ result );
244
244
}
245
245
}
246
246
Original file line number Diff line number Diff line change @@ -12,3 +12,6 @@ services:
12
12
ImmediatelyCalledCallableThrowTypeExtension\BaseImmediate::inheritedMethod : 1
13
13
ImmediatelyCalledCallableThrowTypeExtension\Immediate::method : [0 , 1 ]
14
14
15
+ parameters :
16
+ exceptions :
17
+ implicitThrows : false
You can’t perform that action at this time.
0 commit comments