Completed
Push — master ( 6ded55...a0b650 )
by Schlaefer
05:18 queued 02:54
created
src/Controller/StatusController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      * Get status as JSON response
66 66
      *
67 67
      * @param string $data json-encoded data
68
-     * @return mixed
68
+     * @return string
69 69
      */
70 70
     protected function _statusAsJson($data)
71 71
     {
Please login to merge, or discard this patch.
src/Controller/UsersController.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * Login user.
61 61
      *
62
-     * @return void|\Cake\Network\Response
62
+     * @return null|Response
63 63
      */
64 64
     public function login()
65 65
     {
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
      *
304 304
      * @param int $blockedId user to ignore
305 305
      * @param bool $set block or unblock
306
-     * @return \Cake\Network\Response
306
+     * @return Response|null
307 307
      */
308 308
     protected function _ignore($blockedId, $set)
309 309
     {
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
      * View user profile.
354 354
      *
355 355
      * @param null $id user-ID
356
-     * @return \Cake\Network\Response|void
356
+     * @return null|Response
357 357
      */
358 358
     public function view($id = null)
359 359
     {
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
      * Set user avatar.
417 417
      *
418 418
      * @param string $userId user-ID
419
-     * @return void|\Cake\Network\Response
419
+     * @return Response|null
420 420
      */
421 421
     public function avatar($userId)
422 422
     {
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
      *
450 450
      * @param null $id user-ID
451 451
      *
452
-     * @return \Cake\Network\Response|void
452
+     * @return Response|null
453 453
      */
454 454
     public function edit($id = null)
455 455
     {
@@ -696,7 +696,7 @@  discard block
 block discarded – undo
696 696
     /**
697 697
      * Set slidetab-order.
698 698
      *
699
-     * @return \Cake\Network\Response
699
+     * @return Response
700 700
      * @throws BadRequestException
701 701
      */
702 702
     public function slidetabOrder()
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
      * Set category for user.
745 745
      *
746 746
      * @param string|null $id category-ID
747
-     * @return \Cake\Network\Response
747
+     * @return Response|null
748 748
      */
749 749
     public function setcategory(?string $id = null)
750 750
     {
Please login to merge, or discard this patch.
src/Lib/Saito/App/Registry.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      * Set object
59 59
      *
60 60
      * @param string $key $key
61
-     * @param object $object object
61
+     * @param \Saito\User\CurrentUser\CurrentUserInterface $object object
62 62
      * @return void
63 63
      */
64 64
     public static function set($key, $object)
Please login to merge, or discard this patch.
src/Lib/Saito/Event/SaitoEventManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     /**
73 73
      * attaches event-listener
74 74
      *
75
-     * @param string|SaitoEventListener $key key
75
+     * @param \Saito\Cache\EntriesCacheSupportCachelet $key key
76 76
      * @param null $callable function if $key is set
77 77
      * @return void
78 78
      * @throws \InvalidArgumentException
Please login to merge, or discard this patch.
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/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.
src/Controller/EntriesController.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * posting index
70 70
      *
71
-     * @return void|\Cake\Network\Response
71
+     * @return Response|null
72 72
      */
73 73
     public function index()
74 74
     {
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      * View posting.
190 190
      *
191 191
      * @param string $id posting-ID
192
-     * @return \Cake\Network\Response|void
192
+     * @return Response|null
193 193
      */
194 194
     public function view($id = null)
195 195
     {
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
      * Get thread-line to insert after an inline-answer
300 300
      *
301 301
      * @param string $id posting-ID
302
-     * @return void|\Cake\Network\Response
302
+     * @return Response|null
303 303
      */
304 304
     public function threadLine($id = null)
305 305
     {
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
      * @param string $id posting-ID
449 449
      * @param string $toggle property
450 450
      *
451
-     * @return \Cake\Network\Response
451
+     * @return Response
452 452
      */
453 453
     public function ajaxToggle($id = null, $toggle = null)
454 454
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use Cake\Core\Configure;
22 22
 use Cake\Event\Event;
23 23
 use Cake\Http\Exception\BadRequestException;
24
-use Cake\Http\Exception\ForbiddenException;
25 24
 use Cake\Http\Exception\MethodNotAllowedException;
26 25
 use Cake\Http\Exception\NotFoundException;
27 26
 use Cake\Http\Response;
Please login to merge, or discard this patch.
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.