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 c49baa7 commit 89dd8a7Copy full SHA for 89dd8a7
src/MaintenanceMiddleware.php
@@ -39,9 +39,7 @@ public static function createWithRetryAsSeconds($seconds)
39
if (!is_int($seconds)) {
40
throw new \InvalidArgumentException('Seconds must be integer');
41
}
42
-
43
$instance = new self();
44
45
$instance->retryAfter = (string) $seconds;
46
47
return $instance;
@@ -52,7 +50,7 @@ public static function createWithRetryAsSeconds($seconds)
52
50
*
53
51
* @return self
54
*/
55
- public function createWithRetryAsSecondsAndRefresh($seconds)
+ public static function createWithRetryAsSecondsAndRefresh($seconds)
56
{
57
$instance = self::createWithRetryAsSeconds($seconds);
58
$instance->refresh = $seconds;
0 commit comments