Completed
Pull Request — master (#43)
by Matthew
16:46
created
ODM/JobManager.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $this->addWorkerNameCriterion($qb, $workerName, $method);
42 42
         $query = $qb->getQuery();
43 43
 
44
-        return $this->runQuery($query,'count', [], 0);
44
+        return $this->runQuery($query, 'count', [], 0);
45 45
     }
46 46
 
47 47
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -225,8 +225,7 @@
 block discarded – undo
225 225
     protected function runQuery(\Doctrine\MongoDB\Query\Query $query, $method, array $arguments = [], $resultIfNamespaceError = null) {
226 226
         try {
227 227
             $result = call_user_func_array([$query, $method], $arguments);
228
-        }
229
-        catch (ResultException $resultException) {
228
+        } catch (ResultException $resultException) {
230 229
             if (strpos($resultException->getMessage(), 'namespace does not exist') === false) {
231 230
                 throw $resultException;
232 231
             }
Please login to merge, or discard this patch.