Completed
Branch feature/currentUserRefactoring (e6f778)
by Schlaefer
02:47
created
src/Model/Table/EntriesTable.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Lib/Saito/Test/TestCaseTrait.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -17,11 +17,8 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.