Completed
Branch feature/Save_drafts_on_composi... (9c2717)
by Schlaefer
03:40 queued 01:14
created
src/View/Helper/JsDataHelper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Cake\Http\ServerRequest;
17 17
 use Cake\View\Helper\UrlHelper;
18 18
 use Cake\View\View;
19
-use Saito\JsData\JsData;
20 19
 use Saito\JsData\Notifications;
21 20
 use Saito\User\ForumsUserInterface;
22 21
 
Please login to merge, or discard this patch.
src/Controller/Component/TitleComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
         $page = $this->getPageTitle($controller);
40 40
         $title = $this->getTitleForLayout($controller, $page, $forum);
41
-        $controller->set(['titleForLayout' => $title, 'titleForPage' => $page ]);
41
+        $controller->set(['titleForLayout' => $title, 'titleForPage' => $page]);
42 42
     }
43 43
 
44 44
     /**
Please login to merge, or discard this patch.
src/Model/Table/EntriesTable.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
      *
501 501
      * @param Entry $posting Entity
502 502
      * @param array $data data
503
-     * @return Entry|null
503
+     * @return \Cake\Datasource\EntityInterface|null
504 504
      */
505 505
     public function updateEntry(Entry $posting, array $data): ?Entry
506 506
     {
@@ -579,7 +579,7 @@  discard block
 block discarded – undo
579 579
     /**
580 580
      * trees for multiple tids
581 581
      *
582
-     * @param array $ids ids
582
+     * @param integer[] $ids ids
583 583
      * @param array $order order
584 584
      * @param array $fieldlist fieldlist
585 585
      * @return array|null array of Postings, null if nothing found
@@ -632,7 +632,7 @@  discard block
 block discarded – undo
632 632
      * @param array $params params
633 633
      * - 'fields' array of thread-ids: [1, 2, 5]
634 634
      * - 'order' sort order for threads ['time' => 'ASC'],
635
-     * @return mixed unhydrated result set
635
+     * @return Query unhydrated result set
636 636
      */
637 637
     protected function _getThreadEntries(array $tid, array $params = [])
638 638
     {
@@ -686,6 +686,8 @@  discard block
 block discarded – undo
686 686
 
687 687
     /**
688 688
      * {@inheritDoc}
689
+     * @param integer $id
690
+     * @param string $key
689 691
      */
690 692
     public function toggle($id, $key)
691 693
     {
Please login to merge, or discard this patch.