Completed
Branch dev (05d0ad)
by Raffael
02:25
created
src/Scheduler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
                     return $this->listen($callback, $query);
374 374
                 }
375 375
 
376
-                $this->events->next($cursor, function () use ($callback, $query) {
376
+                $this->events->next($cursor, function() use ($callback, $query) {
377 377
                     return $this->listen($callback, $query);
378 378
                 });
379 379
 
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
             }
382 382
 
383 383
             $result = $cursor->current();
384
-            $this->events->next($cursor, function () use ($callback, $query) {
384
+            $this->events->next($cursor, function() use ($callback, $query) {
385 385
                 $this->listen($callback, $query);
386 386
             });
387 387
 
Please login to merge, or discard this patch.
src/Process.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
                     return $this->wait();
120 120
                 }
121 121
 
122
-                $this->events->next($cursor, function () {
122
+                $this->events->next($cursor, function() {
123 123
                     $this->wait();
124 124
                 });
125 125
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
             }
128 128
 
129 129
             $event = $cursor->current();
130
-            $this->events->next($cursor, function () {
130
+            $this->events->next($cursor, function() {
131 131
                 $this->wait();
132 132
             });
133 133
 
Please login to merge, or discard this patch.
src/Worker.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -288,7 +288,7 @@
 block discarded – undo
288 288
     protected function collectJob(array $job, int $status, $from_status = JobInterface::STATUS_WAITING): bool
289 289
     {
290 290
         $set = [
291
-             'status' => $status,
291
+                'status' => $status,
292 292
         ];
293 293
 
294 294
         if (JobInterface::STATUS_PROCESSING === $status) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
                     break;
208 208
                 }
209 209
 
210
-                $this->jobs->next($cursor, function () {
210
+                $this->jobs->next($cursor, function() {
211 211
                     $this->processAll();
212 212
                 });
213 213
 
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
                 'category' => get_class($this),
221 221
             ]);
222 222
 
223
-            $this->jobs->next($cursor, function () {
223
+            $this->jobs->next($cursor, function() {
224 224
                 $this->processAll();
225 225
             });
226 226
 
Please login to merge, or discard this patch.
src/Queue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 
170 170
         while ($this->loop()) {
171 171
             $event = $cursor_events->current();
172
-            $this->events->next($cursor_events, function () {
172
+            $this->events->next($cursor_events, function() {
173 173
                 $this->main();
174 174
             });
175 175
             $cursor_events->next();
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
                     break;
203 203
                 }
204 204
 
205
-                $this->jobs->next($cursor_jobs, function () {
205
+                $this->jobs->next($cursor_jobs, function() {
206 206
                     $this->main();
207 207
                 });
208 208
 
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
 
212 212
             $job = $cursor_jobs->current();
213 213
 
214
-            $this->jobs->next($cursor_jobs, function () {
214
+            $this->jobs->next($cursor_jobs, function() {
215 215
                 $this->main();
216 216
             });
217 217
 
Please login to merge, or discard this patch.