Passed
Push — master ( e445e3...80ae18 )
by Chauncey
06:53
created
src/Charcoal/Queue/AbstractQueueManager.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 
103 103
     /**
104 104
      * @param FactoryInterface $factory The factory used to create queue items.
105
-     * @return QueueItemInterface Chainable
105
+     * @return AbstractQueueManager Chainable
106 106
      */
107 107
     protected function setQueueItemFactory(FactoryInterface $factory)
108 108
     {
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     /**
245 245
      * Retrieve the items of the current queue.
246 246
      *
247
-     * @return Collection
247
+     * @return \Charcoal\Model\Collection
248 248
      */
249 249
     public function loadQueueItems()
250 250
     {
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -258,9 +258,9 @@
 block discarded – undo
258 258
             'val'      => 0
259 259
         ]);
260 260
         $loader->addFilter([
261
-             'property' => 'processing_date',
262
-             'val'      => date('Y-m-d H:i:s'),
263
-             'operator' => '<'
261
+                'property' => 'processing_date',
262
+                'val'      => date('Y-m-d H:i:s'),
263
+                'operator' => '<'
264 264
         ]);
265 265
 
266 266
         $queueId = $this->queueId();
Please login to merge, or discard this patch.
src/Charcoal/Queue/QueueItemTrait.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      * Set the queue's ID.
97 97
      *
98 98
      * @param mixed $id The unique queue identifier.
99
-     * @return QueueItemInterface Chainable
99
+     * @return QueueItemTrait Chainable
100 100
      */
101 101
     public function setQueueId($id)
102 102
     {
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * Set the item's processed status.
119 119
      *
120 120
      * @param boolean $processed Whether the item has been processed.
121
-     * @return QueueItemInterface Chainable
121
+     * @return QueueItemTrait Chainable
122 122
      */
123 123
     public function setProcessed($processed)
124 124
     {
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      *
142 142
      * @param  null|string|DateTimeInterface $ts A date/time string or object.
143 143
      * @throws InvalidArgumentException If the date/time is invalid.
144
-     * @return QueueItemInterface Chainable
144
+     * @return QueueItemTrait Chainable
145 145
      */
146 146
     public function setQueuedDate($ts)
147 147
     {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      *
187 187
      * @param  null|string|DateTimeInterface $ts A date/time string or object.
188 188
      * @throws InvalidArgumentException If the date/time is invalid.
189
-     * @return QueueItemInterface Chainable
189
+     * @return QueueItemTrait Chainable
190 190
      */
191 191
     public function setProcessingDate($ts)
192 192
     {
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
      *
232 232
      * @param  null|string|DateTimeInterface $ts A date/time string or object.
233 233
      * @throws InvalidArgumentException If the date/time is invalid.
234
-     * @return QueueItemInterface Chainable
234
+     * @return QueueItemTrait Chainable
235 235
      */
236 236
     public function setProcessedDate($ts)
237 237
     {
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
      *
277 277
      * Presets the item as _to-be_ processed and queued now.
278 278
      *
279
-     * @return QueueItemInterface Chainable
279
+     * @return QueueItemTrait Chainable
280 280
      */
281 281
     public function preSaveQueueItem()
282 282
     {
Please login to merge, or discard this patch.