File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ private static function getTimestamp($timestamp)
160
160
* Defaults to now.
161
161
* @return int|false UNIX timestamp, or false if nothing to run.
162
162
*/
163
- public function nextDelayedTimestamp ($ at = null )
163
+ public static function nextDelayedTimestamp ($ at = null )
164
164
{
165
165
if ($ at === null ) {
166
166
$ at = time ();
@@ -183,7 +183,7 @@ public function nextDelayedTimestamp($at = null)
183
183
* @param DateTime|int $timestamp Instance of DateTime or UNIX timestamp.
184
184
* @return array Matching job at timestamp.
185
185
*/
186
- public function nextItemForTimestamp ($ timestamp )
186
+ public static function nextItemForTimestamp ($ timestamp )
187
187
{
188
188
$ timestamp = self ::getTimestamp ($ timestamp );
189
189
$ key = 'delayed: ' . $ timestamp ;
You can’t perform that action at this time.
0 commit comments