Completed
Push — master ( 7161cd...80db05 )
by Schlaefer
14s
created
src/Lib/Saito/User/LastRefresh/LastRefreshAbstract.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * tested if new for user.
38 38
      *
39 39
      * @param string|\DateTimeInterface $timestamp int unix-timestamp or date as string
40
-     * @return mixed bool or null if not determinable
40
+     * @return null|boolean bool or null if not determinable
41 41
      */
42 42
     public function isNewerThan($timestamp)
43 43
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * Set timestamp.
62 62
      *
63
-     * @param mixed $timestamp null|'now'|<`Y-m-d H:i:s` timestamp>
63
+     * @param string $timestamp null|'now'|<`Y-m-d H:i:s` timestamp>
64 64
      * @return void
65 65
      */
66 66
     public function set($timestamp = null)
Please login to merge, or discard this patch.
src/Lib/Saito/User/SaitoUserTrait.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,6 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
     /**
129 129
      * {@inheritDoc}
130
+     * @return boolean|string
130 131
      */
131 132
     public function isLoggedIn()
132 133
     {
@@ -152,7 +153,7 @@  discard block
 block discarded – undo
152 153
     /**
153 154
      * Checks if user is forbidden.
154 155
      *
155
-     * @return bool|string
156
+     * @return string|false
156 157
      */
157 158
     public function isForbidden()
158 159
     {
Please login to merge, or discard this patch.
src/Model/Table/EntriesTable.php 1 patch
Doc Comments   +8 added lines, -6 removed lines patch added patch discarded remove patch
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
      * get parent id
417 417
      *
418 418
      * @param int $id id
419
-     * @return mixed
419
+     * @return integer
420 420
      * @throws \UnexpectedValueException
421 421
      */
422 422
     public function getParentId($id)
@@ -627,7 +627,7 @@  discard block
 block discarded – undo
627 627
     /**
628 628
      * trees for multiple tids
629 629
      *
630
-     * @param array $ids ids
630
+     * @param integer[] $ids ids
631 631
      * @param array $order order
632 632
      * @param array $fieldlist fieldlist
633 633
      * @return array|bool false if no threads or array of Postings
@@ -679,7 +679,7 @@  discard block
 block discarded – undo
679 679
      * @param array $params params
680 680
      * - 'fields' array of thread-ids: [1, 2, 5]
681 681
      * - 'order' sort order for threads ['time' => 'ASC'],
682
-     * @return mixed unhydrated result set
682
+     * @return Query unhydrated result set
683 683
      */
684 684
     protected function _getThreadEntries(array $tid, array $params = [])
685 685
     {
@@ -747,6 +747,8 @@  discard block
 block discarded – undo
747 747
 
748 748
     /**
749 749
      * {@inheritDoc}
750
+     * @param integer $id
751
+     * @param string $key
750 752
      */
751 753
     public function toggle($id, $key)
752 754
     {
@@ -826,7 +828,7 @@  discard block
 block discarded – undo
826 828
      * Anonymizes the entries for a user
827 829
      *
828 830
      * @param string $userId user-ID
829
-     * @return bool success
831
+     * @return integer success
830 832
      */
831 833
     public function anonymizeEntriesFromUser($userId)
832 834
     {
@@ -933,7 +935,7 @@  discard block
 block discarded – undo
933 935
      * Check if posting is thread-root.
934 936
      *
935 937
      * @param array $id posting-ID or posting data
936
-     * @return mixed
938
+     * @return boolean
937 939
      */
938 940
     protected function _isRoot(array $id)
939 941
     {
@@ -1128,7 +1130,7 @@  discard block
 block discarded – undo
1128 1130
      *
1129 1131
      * @param null $tid thread-ID
1130 1132
      * @param null $newCategoryId id for new category
1131
-     * @return bool success
1133
+     * @return integer success
1132 1134
      * @throws \NotFoundException
1133 1135
      * @throws \InvalidArgumentException
1134 1136
      */
Please login to merge, or discard this patch.
src/Model/Table/SettingsTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * Fast version of Set::combine($results, '{n}.Setting.name',
119 119
      * '{n}.Setting.value');
120 120
      *
121
-     * @param array $results results
121
+     * @param Query $results results
122 122
      * @return array
123 123
      */
124 124
     protected function _compactKeyValue($results)
Please login to merge, or discard this patch.
src/Model/Table/UserIgnoresTable.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      *
132 132
      * @param int $userId user-ID
133 133
      * @param int $blockedId user-ID
134
-     * @return mixed
134
+     * @return \Cake\Datasource\EntityInterface
135 135
      */
136 136
     protected function _get($userId, $blockedId)
137 137
     {
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      * counts how many users ignore the user with ID $id
190 190
      *
191 191
      * @param int $id user-ID
192
-     * @return array
192
+     * @return integer
193 193
      */
194 194
     public function countIgnored($id)
195 195
     {
Please login to merge, or discard this patch.
src/Model/Table/UserOnlineTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      * Removes user with uuid `$id` from UserOnline
122 122
      *
123 123
      * @param string $id id
124
-     * @return bool
124
+     * @return integer
125 125
      */
126 126
     public function setOffline($id)
127 127
     {
Please login to merge, or discard this patch.
src/Model/Table/UsersTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -368,7 +368,7 @@
 block discarded – undo
368 368
      * set last refresh
369 369
      *
370 370
      * @param int $userId user-ID
371
-     * @param null $lastRefresh last refresh
371
+     * @param integer $lastRefresh last refresh
372 372
      * @return void
373 373
      */
374 374
     public function setLastRefresh($userId, $lastRefresh = null)
Please login to merge, or discard this patch.
src/View/Helper/UserHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      * Translates user types
80 80
      *
81 81
      * @param string $type type
82
-     * @return mixed
82
+     * @return string|null
83 83
      */
84 84
     public function type($type)
85 85
     {
Please login to merge, or discard this patch.
plugins/BbcodeParser/src/Lib/Preprocessor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * Constructor
21 21
      *
22
-     * @param array $settings settings
22
+     * @param \Saito\Markup\MarkupSettings $settings settings
23 23
      */
24 24
     public function __construct($settings)
25 25
     {
Please login to merge, or discard this patch.