@@ -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 | { |
@@ -17,11 +17,8 @@ |
||
| 17 | 17 | use Cake\Filesystem\File; |
| 18 | 18 | use Cake\Mailer\TransportFactory; |
| 19 | 19 | use Cake\Utility\Inflector; |
| 20 | -use Cron\Lib\Cron; |
|
| 21 | 20 | use Saito\App\Registry; |
| 22 | 21 | use Saito\Cache\CacheSupport; |
| 23 | -use Saito\User\ForumsUserInterface; |
|
| 24 | -use Saito\User\SaitoUser; |
|
| 25 | 22 | |
| 26 | 23 | trait TestCaseTrait |
| 27 | 24 | { |