We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be73b35 commit c34c68cCopy full SHA for c34c68c
1 file changed
tests/RetryTest.php
@@ -11,6 +11,7 @@ function testRetryWithoutFailing()
11
$i++;
12
return 5;
13
});
14
+
15
$this->assertSame(1, $i);
16
$this->assertSame(5, $value);
17
}
@@ -27,6 +28,7 @@ function testRetryFailingOnce()
27
28
29
30
31
32
$this->assertSame(2, $i);
33
34
@@ -54,7 +56,7 @@ function testRetryManyTimes()
54
56
$e = null;
55
57
$i = 0;
58
try {
- retry(1000, function () use (&$i, &$failed) {
59
+ retry(1000, function () use (&$i) {
60
61
throw new \RuntimeException('dogecoin');
62
0 commit comments