@@ -473,7 +473,7 @@ discard block |
||
473 | 473 | * |
474 | 474 | * @param Entry $posting Entity |
475 | 475 | * @param array $data data |
476 | - * @return Entry|null |
|
476 | + * @return EntityInterface|null |
|
477 | 477 | */ |
478 | 478 | public function updateEntry(Entry $posting, array $data): ?Entry |
479 | 479 | { |
@@ -558,7 +558,7 @@ discard block |
||
558 | 558 | /** |
559 | 559 | * trees for multiple tids |
560 | 560 | * |
561 | - * @param array $ids ids |
|
561 | + * @param integer[] $ids ids |
|
562 | 562 | * @param array $order order |
563 | 563 | * @param array $fieldlist fieldlist |
564 | 564 | * @return array|null array of Postings, null if nothing found |
@@ -611,7 +611,7 @@ discard block |
||
611 | 611 | * @param array $params params |
612 | 612 | * - 'fields' array of thread-ids: [1, 2, 5] |
613 | 613 | * - 'order' sort order for threads ['time' => 'ASC'], |
614 | - * @return mixed unhydrated result set |
|
614 | + * @return Query unhydrated result set |
|
615 | 615 | */ |
616 | 616 | protected function _getThreadEntries(array $tid, array $params = []) |
617 | 617 | { |
@@ -665,6 +665,8 @@ discard block |
||
665 | 665 | |
666 | 666 | /** |
667 | 667 | * {@inheritDoc} |
668 | + * @param integer $id |
|
669 | + * @param string $key |
|
668 | 670 | */ |
669 | 671 | public function toggle($id, $key) |
670 | 672 | { |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use App\Model\Table\CategoriesTable; |
18 | 18 | use Bookmarks\Model\Table\BookmarksTable; |
19 | 19 | use Cake\Cache\Cache; |
20 | -use Cake\Datasource\EntityInterface; |
|
21 | 20 | use Cake\Event\Event; |
22 | 21 | use Cake\Http\Exception\NotFoundException; |
23 | 22 | use Cake\ORM\Entity; |