Skip to content

Commit 9e09100

Browse files
author
Willem Stuursma
committed
Replace assertInternalType with assertIsInt
1 parent d560c4f commit 9e09100

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/mutex/PgAdvisoryLockMutexTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ public function testAcquireLock()
4545
$this->logicalAnd(
4646
$this->isType('array'),
4747
$this->countOf(2),
48-
$this->callback(function (...$arguments) {
48+
$this->callback(function (...$arguments): bool {
4949
$integers = $arguments[0];
5050

5151
foreach ($integers as $each) {
52-
$this->assertInternalType('integer', $each);
52+
$this->assertIsInt($each);
5353
}
5454

5555
return true;
@@ -81,7 +81,7 @@ public function testReleaseLock()
8181
foreach ($integers as $each) {
8282
$this->assertLessThan(1 << 32, $each);
8383
$this->assertGreaterThan(-(1 << 32), $each);
84-
$this->assertInternalType('integer', $each);
84+
$this->assertIsInt($each);
8585
}
8686

8787
return true;

0 commit comments

Comments
 (0)