Completed
Push — master ( 7fae80...8ffdf8 )
by Matthew
07:25
created
Tests/ORM/RunManagerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             'doctrine.orm.default_entity_manager',
65 65
             $factory->createProxy(
66 66
                 EntityManager::class,
67
-                function (&$wrappedObject, $proxy, $method, $parameters, &$initializer) use ($objectManager) {
67
+                function(&$wrappedObject, $proxy, $method, $parameters, &$initializer) use ($objectManager) {
68 68
                     $wrappedObject = $objectManager;
69 69
                     $initializer = null;
70 70
                 }
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
             'doctrine.orm.default_entity_manager',
93 93
             $factory->createProxy(
94 94
                 EntityManager::class,
95
-                function (&$wrappedObject, $proxy, $method, $parameters, &$initializer) use ($objectManager) {
95
+                function(&$wrappedObject, $proxy, $method, $parameters, &$initializer) use ($objectManager) {
96 96
                     $wrappedObject = $objectManager;
97 97
                     $initializer = null;
98 98
                 }
Please login to merge, or discard this patch.
ORM/JobManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
      * @param bool   $prioritize
213 213
      * @param int    $runId
214 214
      *
215
-     * @return Job|null
215
+     * @return boolean|null
216 216
      */
217 217
     public function getJob($workerName = null, $methodName = null, $prioritize = true, $runId = null)
218 218
     {
Please login to merge, or discard this patch.
Redis/StatusTrait.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@
 block discarded – undo
6 6
 
7 7
 trait StatusTrait
8 8
 {
9
+    /**
10
+     * @param string $cacheKey
11
+     */
9 12
     protected function collateStatusResults(array &$results, $cacheKey)
10 13
     {
11 14
         $cursor = null;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -431,7 +431,7 @@
 block discarded – undo
431 431
     {
432 432
         $cursor = null;
433 433
         while ($jobs = $this->redis->zScan($cacheKey, $cursor, '', 100)) {
434
-            $jobs = $this->redis->mget(array_map(function ($item) {
434
+            $jobs = $this->redis->mget(array_map(function($item) {
435 435
                 return $this->getJobCacheKey($item);
436 436
             }, array_keys($jobs)));
437 437
             $this->extractStatusResults($jobs, $results);
Please login to merge, or discard this patch.