Completed
Branch feature/redis (23fb44)
by Matthew
05:31
created
Controller/QueueController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,13 +60,13 @@
 block discarded – undo
60 60
         $methodName = $request->get('method');
61 61
 
62 62
         $jobManager = $this->get('dtc_queue.manager.job');
63
-        $callback = function ($count) {
63
+        $callback = function($count) {
64 64
             echo json_encode(['count' => $count]);
65 65
             echo "\n";
66 66
             flush();
67 67
         };
68 68
 
69
-        $streamingResponse = new StreamedResponse(function () use ($jobManager, $callback, $workerName, $methodName) {
69
+        $streamingResponse = new StreamedResponse(function() use ($jobManager, $callback, $workerName, $methodName) {
70 70
             $total = $jobManager->countLiveJobs($workerName, $methodName);
71 71
             echo json_encode(['total' => $total]);
72 72
             echo "\n";
Please login to merge, or discard this patch.