Completed
Push — master ( 2f9634...58e792 )
by Matthew
14:33 queued 03:52
created
Model/RetryableJob.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     }
87 87
 
88 88
     /**
89
-     * @param int $erroredCount
89
+     * @param integer $errorCount
90 90
      *
91 91
      * @return RetryableJob
92 92
      */
Please login to merge, or discard this patch.
ODM/JobManager.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,8 @@
 block discarded – undo
55 55
      *
56 56
      * @param string|null $workerName
57 57
      * @param string|null $method
58
-     * @param $conditionFunc
58
+     * @param \Closure $conditionFunc
59
+     * @param string $objectName
59 60
      *
60 61
      * @return int
61 62
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function pruneErroneousJobs($workerName = null, $method = null)
46 46
     {
47
-        return $this->pruneJobs($workerName, $method, $this->getArchiveObjectName(), function ($qb) {
47
+        return $this->pruneJobs($workerName, $method, $this->getArchiveObjectName(), function($qb) {
48 48
             /* @var Builder $qb */
49 49
             return $qb->field('status')->equals(BaseJob::STATUS_ERROR);
50 50
         });
Please login to merge, or discard this patch.
ORM/JobManager.php 2 patches
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,8 @@  discard block
 block discarded – undo
91 91
      *
92 92
      * @param string|null $workerName
93 93
      * @param string|null $method
94
-     * @param $conditionFunc
94
+     * @param \Closure $conditionFunc
95
+     * @param string $objectName
95 96
      *
96 97
      * @return int Count of jobs pruned
97 98
      */
@@ -108,6 +109,10 @@  discard block
 block discarded – undo
108 109
         return intval($query->execute());
109 110
     }
110 111
 
112
+    /**
113
+     * @param string $workerName
114
+     * @param string $method
115
+     */
111 116
     protected function addWorkerNameCriterion(QueryBuilder $queryBuilder, $workerName = null, $method = null)
112 117
     {
113 118
         if (null !== $workerName) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      */
80 80
     public function pruneErroneousJobs($workerName = null, $method = null)
81 81
     {
82
-        return $this->pruneJobs($workerName, $method, $this->getArchiveObjectName(), function ($qb) {
82
+        return $this->pruneJobs($workerName, $method, $this->getArchiveObjectName(), function($qb) {
83 83
             /* @var QueryBuilder $qb */
84 84
             $qb->where('j.status = :status')
85 85
                 ->setParameter(':status', BaseJob::STATUS_ERROR);
Please login to merge, or discard this patch.