Passed
Push — master ( b6b684...442946 )
by Eugene
03:49 queued 33s
created
src/Acl/AclService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
     /**
68 68
      * @param array $options
69
-     * @param mixed $option
69
+     * @param string $option
70 70
      * @param mixed $default
71 71
      * @return array
72 72
      */
Please login to merge, or discard this patch.
src/Middlewares/ActionGetAbstract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     }
50 50
 
51 51
     /**
52
-     * @param $path
52
+     * @param string $path
53 53
      * @param string $filename Filename for saving dialog on the client-side
54 54
      * @param bool $forceSaveDialog
55 55
      * @return EmptyResponse
Please login to merge, or discard this patch.
src/Middlewares/ActionPostAbstract.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @return string|null
105
+     * @return UploadedFile|null
106 106
      */
107 107
     protected function upload()
108 108
     {
@@ -118,8 +118,8 @@  discard block
 block discarded – undo
118 118
 
119 119
     /**
120 120
      * @param ResourceDOInterface $resourceDO
121
-     * @param $uri
122
-     * @return UploadedFile
121
+     * @param string $uri
122
+     * @return DownloadedFile
123 123
      * @throws ErrorException
124 124
      * @throws \Exception
125 125
      */
Please login to merge, or discard this patch.
src/Resources/Middlewares/Image/ImagePostProcessingMiddlewareAbstract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-     * @param $directory
55
+     * @param string $directory
56 56
      * @throws SaveResourceErrorException
57 57
      * @see \Staticus\Resources\Middlewares\SaveResourceMiddlewareAbstract::createDirectory
58 58
      */
Please login to merge, or discard this patch.
src/test/Resources/Commands/CopyResourceCommandTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @return BackupResourceCommand
27
+     * @return CopyResourceCommand
28 28
      */
29 29
     public function getCommand(ResourceDO $resourceDOSource, ResourceDO $resourceDODest)
30 30
     {
Please login to merge, or discard this patch.
src/test/Resources/Commands/DestroyResourceCommandTest.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
 
28 28
     /**
29
-     * @return BackupResourceCommand
29
+     * @return DestroyResourceCommand
30 30
      */
31 31
     public function getCommand(ResourceDO $resourceDO)
32 32
     {
Please login to merge, or discard this patch.
src/Middlewares/ErrorHandler.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,6 +57,12 @@  discard block
 block discarded – undo
57 57
             $next($request, $response, $next);
58 58
         }
59 59
     }
60
+
61
+    /**
62
+     * @param integer $status
63
+     * @param string $message
64
+     * @param string $code
65
+     */
60 66
     protected function response($status, $message, $code)
61 67
     {
62 68
         $error = $this->getErrorArray($message, $code);
@@ -86,7 +92,7 @@  discard block
 block discarded – undo
86 92
     }
87 93
 
88 94
     /**
89
-     * @param $error
95
+     * @param \Exception $error
90 96
      * @param $className
91 97
      * @return string
92 98
      */
Please login to merge, or discard this patch.
src/Resources/Image/ResourceImageDO.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @param mixed $width
53
+     * @param integer $width
54 54
      * @return ResourceImageDO
55 55
      */
56 56
     public function setWidth($width = self::DEFAULT_WIDTH)
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param mixed $height
73
+     * @param integer $height
74 74
      * @return ResourceImageDO
75 75
      */
76 76
     public function setHeight($height = self::DEFAULT_HEIGHT)
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-     * @return CropImageDOInterface|null
120
+     * @return CropImageDOInterface
121 121
      */
122 122
     public function getCrop()
123 123
     {
Please login to merge, or discard this patch.
src/test/Resources/Commands/DeleteImageSizesResourceCommandTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @return BackupResourceCommand
31
+     * @return DeleteImageSizesResourceCommand
32 32
      */
33 33
     public function getCommand(ResourceImageDO $resourceDO)
34 34
     {
Please login to merge, or discard this patch.