@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | /** |
| 282 | 282 | * @param integer $page The current page. Start at 0. |
| 283 | 283 | * @throws InvalidArgumentException If the parameter is not numeric or < 0. |
| 284 | - * @return Pagination (Chainable) |
|
| 284 | + * @return HierarchicalCollection (Chainable) |
|
| 285 | 285 | */ |
| 286 | 286 | public function setPage($page) |
| 287 | 287 | { |
@@ -314,7 +314,7 @@ discard block |
||
| 314 | 314 | /** |
| 315 | 315 | * @param integer $num The number of results to retrieve, per page. |
| 316 | 316 | * @throws InvalidArgumentException If the parameter is not numeric or < 0. |
| 317 | - * @return Pagination (Chainable) |
|
| 317 | + * @return HierarchicalCollection (Chainable) |
|
| 318 | 318 | */ |
| 319 | 319 | public function setNumPerPage($num) |
| 320 | 320 | { |
@@ -371,7 +371,7 @@ |
||
| 371 | 371 | if ($update) { |
| 372 | 372 | $this->setProcessed(true); |
| 373 | 373 | $this->setProcessedDate('now'); |
| 374 | - $this->update([ 'processed', 'processed_date' ]); |
|
| 374 | + $this->update(['processed', 'processed_date']); |
|
| 375 | 375 | |
| 376 | 376 | if ($successCallback !== null) { |
| 377 | 377 | $successCallback($this); |