@@ -41,7 +41,7 @@ |
||
| 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 | /** |
@@ -225,8 +225,7 @@ |
||
| 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 | } |