@@ -302,7 +302,7 @@ discard block |
||
302 | 302 | * You don't want to fetch every field for performance reasons. |
303 | 303 | * |
304 | 304 | * @param bool $complete Threadline if false; Full posting if true |
305 | - * @return array The fieldset |
|
305 | + * @return callable The fieldset |
|
306 | 306 | */ |
307 | 307 | public function getFieldset(bool $complete = false): array |
308 | 308 | { |
@@ -431,7 +431,7 @@ discard block |
||
431 | 431 | * |
432 | 432 | * @param Entry $posting Entity |
433 | 433 | * @param array $data data |
434 | - * @return Entry|null |
|
434 | + * @return \Cake\Datasource\EntityInterface|null |
|
435 | 435 | */ |
436 | 436 | public function updateEntry(Entry $posting, array $data): ?Entry |
437 | 437 | { |
@@ -488,6 +488,8 @@ discard block |
||
488 | 488 | |
489 | 489 | /** |
490 | 490 | * {@inheritDoc} |
491 | + * @param integer $id |
|
492 | + * @param string $key |
|
491 | 493 | */ |
492 | 494 | public function toggle($id, $key) |
493 | 495 | { |