Test Setup Failed
Push — master ( a87626...531aa8 )
by Matthew
02:42
created
ORM/JobManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      */
63 63
     public function pruneErroneousJobs($workerName = null, $method = null)
64 64
     {
65
-        return $this->pruneJobs($workerName, $method, $this->getArchiveObjectName(), function ($qb) {
65
+        return $this->pruneJobs($workerName, $method, $this->getArchiveObjectName(), function($qb) {
66 66
             /* @var QueryBuilder $qb */
67 67
             $qb->where('j.status = :status')
68 68
                 ->setParameter(':status', Job::STATUS_ERROR);
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      */
107 107
     public function pruneExpiredJobs($workerName = null, $method = null)
108 108
     {
109
-        return $this->pruneJobs($workerName, $method, $this->getObjectName(), function ($qb) {
109
+        return $this->pruneJobs($workerName, $method, $this->getObjectName(), function($qb) {
110 110
             /* @var QueryBuilder $qb */
111 111
             $qb->where('j.expiresAt <= :expiresAt')
112 112
                 ->setParameter(':expiresAt', new \DateTime());
Please login to merge, or discard this patch.
ODM/JobManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function pruneErroneousJobs($workerName = null, $method = null)
52 52
     {
53
-        return $this->pruneJobs($workerName, $method, $this->getArchiveObjectName(), function ($qb) {
53
+        return $this->pruneJobs($workerName, $method, $this->getArchiveObjectName(), function($qb) {
54 54
             /* @var Builder $qb */
55 55
             return $qb->field('status')->equals(Job::STATUS_ERROR);
56 56
         });
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      */
99 99
     public function pruneExpiredJobs($workerName = null, $method = null)
100 100
     {
101
-        return $this->pruneJobs($workerName, $method, $this->getObjectName(), function ($qb) {
101
+        return $this->pruneJobs($workerName, $method, $this->getObjectName(), function($qb) {
102 102
             /* @var Builder $qb */
103 103
             return $qb->field('expiresAt')->lte(new \DateTime());
104 104
         });
Please login to merge, or discard this patch.