Completed
Branch feature/phpstanLevel3 (3516c0)
by Schlaefer
02:23
created
src/Lib/Saito/Smiley/SmileyRenderer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param string $string string
90 90
      * @param array $replacements replacements
91
-     * @return mixed
91
+     * @return string
92 92
      */
93 93
     protected function _debug($string, $replacements)
94 94
     {
Please login to merge, or discard this patch.
src/Model/Table/EntriesTable.php 1 patch
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
      * get parent id
379 379
      *
380 380
      * @param int $id id
381
-     * @return mixed
381
+     * @return integer
382 382
      * @throws \UnexpectedValueException
383 383
      */
384 384
     public function getParentId($id)
@@ -589,7 +589,7 @@  discard block
 block discarded – undo
589 589
     /**
590 590
      * trees for multiple tids
591 591
      *
592
-     * @param array $ids ids
592
+     * @param integer[] $ids ids
593 593
      * @param array $order order
594 594
      * @param array $fieldlist fieldlist
595 595
      * @return array|null array of Postings, null if nothing found
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
      * @param array $params params
643 643
      * - 'fields' array of thread-ids: [1, 2, 5]
644 644
      * - 'order' sort order for threads ['time' => 'ASC'],
645
-     * @return mixed unhydrated result set
645
+     * @return Query unhydrated result set
646 646
      */
647 647
     protected function _getThreadEntries(array $tid, array $params = [])
648 648
     {
@@ -710,6 +710,8 @@  discard block
 block discarded – undo
710 710
 
711 711
     /**
712 712
      * {@inheritDoc}
713
+     * @param integer $id
714
+     * @param string $key
713 715
      */
714 716
     public function toggle($id, $key)
715 717
     {
@@ -894,7 +896,7 @@  discard block
 block discarded – undo
894 896
      * Check if posting is thread-root.
895 897
      *
896 898
      * @param array $id posting-ID or posting data
897
-     * @return mixed
899
+     * @return boolean
898 900
      */
899 901
     protected function _isRoot(array $id)
900 902
     {
Please login to merge, or discard this patch.
src/Model/Table/UserIgnoresTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
      *
135 135
      * @param int $userId user-ID
136 136
      * @param int $blockedId user-ID
137
-     * @return mixed
137
+     * @return \Cake\Datasource\EntityInterface
138 138
      */
139 139
     protected function _get(int $userId, int $blockedId)
140 140
     {
Please login to merge, or discard this patch.
src/View/Helper/UserHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * Translates user types
86 86
      *
87 87
      * @param string $type type
88
-     * @return mixed
88
+     * @return string|null
89 89
      */
90 90
     public function type($type)
91 91
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * Link to user-profile
127 127
      *
128 128
      * @param User|ForumsUserInterface $user user
129
-     * @param bool|CurrentUserInterface $link link
129
+     * @param boolean $link link
130 130
      * @param array $options options
131 131
      * @return string
132 132
      */
Please login to merge, or discard this patch.