Completed
Push — master ( 7161cd...80db05 )
by Schlaefer
14s
created
src/Controller/ContactsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      * @param Form $contact contact-form
86 86
      * @param mixed $recipient recipient
87 87
      * @param mixed $sender sender
88
-     * @return \Cake\Network\Response|void
88
+     * @return \Cake\Http\Response|null
89 89
      */
90 90
     protected function _contact(Form $contact, $recipient, $sender)
91 91
     {
Please login to merge, or discard this patch.
src/Controller/EntriesController.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * posting index
66 66
      *
67
-     * @return void|\Cake\Network\Response
67
+     * @return \Cake\Http\Response|null
68 68
      */
69 69
     public function index()
70 70
     {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      * Mix view
112 112
      *
113 113
      * @param string $tid thread-ID
114
-     * @return void|Response
114
+     * @return \Cake\Http\Response|null
115 115
      * @throws NotFoundException
116 116
      */
117 117
     public function mix($tid)
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
      * View posting.
185 185
      *
186 186
      * @param string $id posting-ID
187
-     * @return \Cake\Network\Response|void
187
+     * @return \Cake\Http\Response|null
188 188
      */
189 189
     public function view($id = null)
190 190
     {
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
      * Add new posting.
237 237
      *
238 238
      * @param null|string $id parent-ID if is answer
239
-     * @return void|\Cake\Network\Response
239
+     * @return \Cake\Http\Response|null
240 240
      * @throws ForbiddenException
241 241
      */
242 242
     public function add($id = null)
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
      * Get thread-line to insert after an inline-answer
346 346
      *
347 347
      * @param string $id posting-ID
348
-     * @return void|\Cake\Network\Response
348
+     * @return \Cake\Http\Response|null
349 349
      */
350 350
     public function threadLine($id = null)
351 351
     {
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
      * Edit posting
365 365
      *
366 366
      * @param string $id posting-ID
367
-     * @return void|\Cake\Network\Response
367
+     * @return \Cake\Http\Response|null
368 368
      * @throws NotFoundException
369 369
      * @throws BadRequestException
370 370
      */
@@ -570,7 +570,7 @@  discard block
 block discarded – undo
570 570
      * @param string $id posting-ID
571 571
      * @param string $toggle property
572 572
      *
573
-     * @return \Cake\Network\Response
573
+     * @return \Cake\Http\Response
574 574
      */
575 575
     public function ajaxToggle($id = null, $toggle = null)
576 576
     {
Please login to merge, or discard this patch.
src/Controller/PreviewController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Generate posting preview for JSON frontend.
28 28
      *
29
-     * @return \Cake\Network\Response|void
29
+     * @return null|\Cake\Http\Response
30 30
      * @throws BadRequestException
31 31
      * @throws ForbiddenException
32 32
      */
Please login to merge, or discard this patch.
src/Controller/StatusController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Current app status ping
16 16
      *
17
-     * @return string
17
+     * @return \Cake\Http\Response
18 18
      * @throws BadRequestException
19 19
      */
20 20
     public function status()
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      * Get status as JSON response
56 56
      *
57 57
      * @param string $data json-encoded data
58
-     * @return mixed
58
+     * @return string
59 59
      */
60 60
     protected function _statusAsJson($data)
61 61
     {
Please login to merge, or discard this patch.
src/Controller/UsersController.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * Login user.
58 58
      *
59
-     * @return void|\Cake\Network\Response
59
+     * @return null|Response
60 60
      */
61 61
     public function login()
62 62
     {
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
      *
310 310
      * @param int $blockedId user to ignore
311 311
      * @param bool $set block or unblock
312
-     * @return \Cake\Network\Response
312
+     * @return Response|null
313 313
      */
314 314
     protected function _ignore($blockedId, $set)
315 315
     {
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
      * View user profile.
360 360
      *
361 361
      * @param null $id user-ID
362
-     * @return \Cake\Network\Response|void
362
+     * @return null|Response
363 363
      */
364 364
     public function view($id = null)
365 365
     {
@@ -420,8 +420,8 @@  discard block
 block discarded – undo
420 420
     /**
421 421
      * Set user avatar.
422 422
      *
423
-     * @param string $userId user-ID
424
-     * @return void|\Cake\Network\Response
423
+     * @param integer $userId user-ID
424
+     * @return Response|null
425 425
      */
426 426
     public function avatar(int $userId)
427 427
     {
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
      *
455 455
      * @param null $id user-ID
456 456
      *
457
-     * @return \Cake\Network\Response|void
457
+     * @return Response|null
458 458
      */
459 459
     public function edit($id = null)
460 460
     {
@@ -661,7 +661,7 @@  discard block
 block discarded – undo
661 661
     /**
662 662
      * Set slidetab-order.
663 663
      *
664
-     * @return \Cake\Network\Response
664
+     * @return Response
665 665
      * @throws BadRequestException
666 666
      */
667 667
     public function slidetabOrder()
@@ -709,7 +709,7 @@  discard block
 block discarded – undo
709 709
      * Set category for user.
710 710
      *
711 711
      * @param null $id category-ID
712
-     * @return \Cake\Network\Response
712
+     * @return Response|null
713 713
      * @throws ForbiddenException
714 714
      */
715 715
     public function setcategory($id = null)
Please login to merge, or discard this patch.
src/Lib/Model/Table/AppSettingTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      *
15 15
      * @param Event $event event
16 16
      * @param Entity $entity entity
17
-     * @param array|\ArrayObject $options options
17
+     * @param \ArrayObject $options options
18 18
      *  - 'clearCache' set to 'false' to prevent cache clearing
19 19
      * @return void
20 20
      */
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
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     /**
63 63
      * attaches event-listener
64 64
      *
65
-     * @param string|SaitoEventListener $key key
65
+     * @param \Saito\Cache\EntriesCacheSupportCachelet $key key
66 66
      * @param null $callable function if $key is set
67 67
      * @return void
68 68
      * @throws InvalidArgumentException
Please login to merge, or discard this patch.
src/Lib/Saito/Exception/SaitoBlackholeException.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -9,6 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     /**
11 11
      * {@inheritDoc}
12
+     * @param string $type
12 13
      */
13 14
     public function __construct($type = null, $data = [])
14 15
     {
Please login to merge, or discard this patch.
src/Lib/Saito/Posting/Decorator/UserPostingTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     /**
44 44
      * Checks if answering an entry is allowed
45 45
      *
46
-     * @return bool
46
+     * @return string|boolean
47 47
      */
48 48
     public function isAnsweringForbidden()
49 49
     {
Please login to merge, or discard this patch.