Skip to content

Commit f8d620f

Browse files
committed
PHP CS Fixer: use php_unit_dedicate_assert
1 parent 86d1903 commit f8d620f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/LegacyOptionsTest.php

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

0 commit comments

Comments
 (0)