Passed
Push — master ( 25ea15...3f35f3 )
by Evgeny
03:07
created
src/Service/Action/CrudAddAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     /**
41 41
      * Execute action.
42 42
      *
43
-     * @return mixed
43
+     * @return \Cake\Datasource\EntityInterface
44 44
      */
45 45
     public function execute()
46 46
     {
Please login to merge, or discard this patch.
src/Service/Action/Extension/CrudRelationsExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     /**
109 109
      * @param Action $action An Action instance.
110 110
      * @param Query $query A Query instance.
111
-     * @return mixed
111
+     * @return Query
112 112
      */
113 113
     protected function _attachAssociations(CrudAction $action, Query $query)
114 114
     {
Please login to merge, or discard this patch.
src/Service/Auth/Authenticate/BaseAuthenticate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
      * systems like basic and digest auth.
219 219
      *
220 220
      * @param \Cake\Http\ServerRequest $request Request object.
221
-     * @return mixed Either false or an array of user information
221
+     * @return boolean Either false or an array of user information
222 222
      */
223 223
     public function getUser(ServerRequest $request)
224 224
     {
Please login to merge, or discard this patch.
src/Service/Auth/Authenticate/SocialAuthenticate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      *
61 61
      * @param ServerRequest $request Cake request object.
62 62
      * @param Response $response Cake response object.
63
-     * @return mixed
63
+     * @return boolean
64 64
      */
65 65
     public function authenticate(ServerRequest $request, Response $response)
66 66
     {
Please login to merge, or discard this patch.
src/Service/Service.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
      *
296 296
      * @param int $version Version number.
297 297
      * @deprecated 3.4.0 Use setVersion()/getVersion() instead.
298
-     * @return int|$this
298
+     * @return null|integer
299 299
      */
300 300
     public function version($version = null)
301 301
     {
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
      *
372 372
      * @param \Cake\Http\ServerRequest $request A Request object.
373 373
      * @deprecated 3.4.0 Use getRequest()/setRequest() instead.
374
-     * @return \Cake\Http\ServerRequest|$this
374
+     * @return null|ServerRequest
375 375
      */
376 376
     public function request($request = null)
377 377
     {
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
      * Build router settings.
442 442
      * This implementation build action map for resource routes based on Service actions.
443 443
      *
444
-     * @return array
444
+     * @return callable
445 445
      */
446 446
     public function routerDefaultOptions()
447 447
     {
Please login to merge, or discard this patch.
src/Service/Utility/ReverseRouting.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      *
52 52
      * @param Action $action An Action instance.
53 53
      * @param callable $beforeReverse Callback.
54
-     * @return array|string
54
+     * @return string|null
55 55
      */
56 56
     public function indexPath(Action $action, $beforeReverse = null)
57 57
     {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * @param string $parentName Action name.
86 86
      * @param Action $action An Action instance.
87 87
      * @param string $type Type of action.
88
-     * @return array
88
+     * @return string
89 89
      */
90 90
     public function parentViewPath($parentName, $action, $type)
91 91
     {
Please login to merge, or discard this patch.
tests/TestCase/Auth/Authorize/SimpleRbacAuthorizeTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -116,6 +116,9 @@
 block discarded – undo
116 116
         $this->assertEquals($this->defaultPermissions, $this->simpleRbacAuthorize->getConfig('permissions'));
117 117
     }
118 118
 
119
+    /**
120
+     * @param string $instance
121
+     */
119 122
     protected function assertConstructorPermissions($instance, $config, $permissions)
120 123
     {
121 124
         $reflectedClass = new ReflectionClass($instance);
Please login to merge, or discard this patch.
src/Service/Auth/Authenticate/TokenAuthenticate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      *
61 61
      * @param ServerRequest $request Cake request object.
62 62
      * @param Response $response Cake response object.
63
-     * @return mixed
63
+     * @return boolean
64 64
      */
65 65
     public function authenticate(ServerRequest $request, Response $response)
66 66
     {
Please login to merge, or discard this patch.