Completed
Push — fix-php-cs-fixer ( 9e50fa...ff0ad3 )
by Lukas Kahwe
01:47
created
Imagine/Cache/Resolver/WebPathResolver.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -130,6 +130,8 @@
 block discarded – undo
130 130
 
131 131
     /**
132 132
      * {@inheritdoc}
133
+     * @param string $path
134
+     * @param string $filter
133 135
      */
134 136
     protected function getFileUrl($path, $filter)
135 137
     {
Please login to merge, or discard this patch.
Controller/ImagineController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -135,6 +135,9 @@
 block discarded – undo
135 135
         }, $path, $filter, $hash);
136 136
     }
137 137
 
138
+    /**
139
+     * @param string $hash
140
+     */
138 141
     private function createRedirectResponse(\Closure $url, string $path, string $filter, ?string $hash = null): RedirectResponse
139 142
     {
140 143
         try {
Please login to merge, or discard this patch.
Binary/Loader/FileSystemLoader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@
 block discarded – undo
79 79
         return new FileBinary($path, $mimeType, $extension);
80 80
     }
81 81
 
82
+    /**
83
+     * @return string|null
84
+     */
82 85
     private function getExtension(?string $mimeType): ?string
83 86
     {
84 87
         if ($this->extensionGuesser instanceof DeprecatedExtensionGuesserInterface) {
Please login to merge, or discard this patch.
Imagine/Data/DataManager.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -176,6 +176,11 @@
 block discarded – undo
176 176
         return $defaultImage;
177 177
     }
178 178
 
179
+    /**
180
+     * @param string|null $mimeType
181
+     *
182
+     * @return string|null
183
+     */
179 184
     private function getExtension(?string $mimeType): ?string
180 185
     {
181 186
         if ($this->extensionGuesser instanceof DeprecatedExtensionGuesserInterface) {
Please login to merge, or discard this patch.
Imagine/Cache/Resolver/AmazonS3Resolver.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
      *
180 180
      * @param string $path
181 181
      *
182
-     * @return string
182
+     * @return \CFResponse
183 183
      */
184 184
     protected function getObjectUrl($path)
185 185
     {
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      *
194 194
      * @throws \S3_Exception
195 195
      *
196
-     * @return bool
196
+     * @return boolean|null
197 197
      */
198 198
     protected function objectExists($objectPath)
199 199
     {
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     }
202 202
 
203 203
     /**
204
-     * @param mixed $message
204
+     * @param string $message
205 205
      */
206 206
     protected function logError($message, array $context = [])
207 207
     {
Please login to merge, or discard this patch.
Binary/Loader/FlysystemLoader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@
 block discarded – undo
66 66
         );
67 67
     }
68 68
 
69
+    /**
70
+     * @return string|null
71
+     */
69 72
     private function getExtension(?string $mimeType): ?string
70 73
     {
71 74
         if ($this->extensionGuesser instanceof DeprecatedExtensionGuesserInterface) {
Please login to merge, or discard this patch.