File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ public function testOverloadCannotBeEvaluatedLazilyWithoutExpectedClosureParams(
275275 });
276276
277277 $ resolved = $ this ->options ->resolve ();
278- $ this ->assertTrue ( is_callable ( $ resolved ['foo ' ]) );
278+ $ this ->assertInternalType ( ' callable ' , $ resolved ['foo ' ]);
279279 }
280280
281281 public function testOverloadCannotBeEvaluatedLazilyWithoutFirstParamTypeHint ()
@@ -287,7 +287,7 @@ public function testOverloadCannotBeEvaluatedLazilyWithoutFirstParamTypeHint()
287287 });
288288
289289 $ resolved = $ this ->options ->resolve ();
290- $ this ->assertTrue ( is_callable ( $ resolved ['foo ' ]) );
290+ $ this ->assertInternalType ( ' callable ' , $ resolved ['foo ' ]);
291291 }
292292
293293 public function testRemoveOptionAndNormalizer ()
You can’t perform that action at this time.
0 commit comments