We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d560c4f commit 9e09100Copy full SHA for 9e09100
tests/mutex/PgAdvisoryLockMutexTest.php
@@ -45,11 +45,11 @@ public function testAcquireLock()
45
$this->logicalAnd(
46
$this->isType('array'),
47
$this->countOf(2),
48
- $this->callback(function (...$arguments) {
+ $this->callback(function (...$arguments): bool {
49
$integers = $arguments[0];
50
51
foreach ($integers as $each) {
52
- $this->assertInternalType('integer', $each);
+ $this->assertIsInt($each);
53
}
54
55
return true;
@@ -81,7 +81,7 @@ public function testReleaseLock()
81
82
$this->assertLessThan(1 << 32, $each);
83
$this->assertGreaterThan(-(1 << 32), $each);
84
85
86
87
0 commit comments