Completed
Branch master (f58c14)
by Andrey
07:50
created
ckfinder/core/connector/php/vendor/aws/aws-sdk-php/src/TraceMiddleware.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@  discard block
 block discarded – undo
121 121
         $this->prevInput = $entry;
122 122
     }
123 123
 
124
+    /**
125
+     * @param double $start
126
+     */
124 127
     private function stepOutput($start, $entry)
125 128
     {
126 129
         static $keys = ['result', 'error'];
@@ -130,6 +133,9 @@  discard block
 block discarded – undo
130 133
         $this->prevOutput = $entry;
131 134
     }
132 135
 
136
+    /**
137
+     * @param string $title
138
+     */
133 139
     private function compareStep(array $a, array $b, $title, array $keys)
134 140
     {
135 141
         $changes = [];
@@ -280,6 +286,9 @@  discard block
 block discarded – undo
280 286
         }
281 287
     }
282 288
 
289
+    /**
290
+     * @param string $value
291
+     */
283 292
     private function write($value)
284 293
     {
285 294
         if ($this->config['scrub_auth']) {
Please login to merge, or discard this patch.
vendor/cksource/ckfinder/src/CKSource/CKFinder/Backend/Adapter/Local.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
      *
227 227
      * @param string $path
228 228
      *
229
-     * @return resource
229
+     * @return boolean
230 230
      */
231 231
     public function createWriteStream($path)
232 232
     {
Please login to merge, or discard this patch.
php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Backend/Backend.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -307,7 +307,7 @@
 block discarded – undo
307 307
      *
308 308
      * @param string $directoryPath
309 309
      *
310
-     * @return bool
310
+     * @return boolean|null
311 311
      */
312 312
     public function hasDirectory($directoryPath)
313 313
     {
Please login to merge, or discard this patch.
cksource/ckfinder/src/CKSource/CKFinder/Cache/Adapter/BackendAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
      *
94 94
      * @param string $key
95 95
      *
96
-     * @return bool true if successful
96
+     * @return false|null true if successful
97 97
      */
98 98
     public function delete($key)
99 99
     {
Please login to merge, or discard this patch.
cksource/ckfinder/src/CKSource/CKFinder/Filesystem/File/EditedFile.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     /**
60 60
      * @param string   $fileName
61 61
      * @param CKFinder $app
62
-     * @param null     $newFileName
62
+     * @param string     $newFileName
63 63
      */
64 64
     public function __construct($fileName, CKFinder $app, $newFileName = null)
65 65
     {
Please login to merge, or discard this patch.
cksource/ckfinder/src/CKSource/CKFinder/Filesystem/File/ExistingFile.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
     /**
185 185
      * Returns file contents.
186 186
      *
187
-     * @return resource contents stream
187
+     * @return string|false contents stream
188 188
      */
189 189
     public function getContents()
190 190
     {
Please login to merge, or discard this patch.
php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Filesystem/File/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
      * For example for a file named `file.foo.bar.baz` it will return an array containing
96 96
      * `['foo', 'bar', 'baz']`.
97 97
      *
98
-     * @param null $newFileName the file name to check if it is different than the current file name (for example for validation of
98
+     * @param null|string $newFileName the file name to check if it is different than the current file name (for example for validation of
99 99
      *                          a new file name in edited files).
100 100
      *
101 101
      * @return array
Please login to merge, or discard this patch.
core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Image.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@
 block discarded – undo
236 236
      *                              - calculateAspectRatio(300, 200, 800, 400, false) will return 300x150
237 237
      *                              - calculateAspectRatio(300, 200, 800, 400, true) will return 400x200
238 238
      *
239
-     * @return array
239
+     * @return string
240 240
      */
241 241
     public static function calculateAspectRatio($maxWidth, $maxHeight, $actualWidth, $actualHeight, $useHigherFactor = false)
242 242
     {
Please login to merge, or discard this patch.
cksource/ckfinder/src/CKSource/CKFinder/ResizedImage/ResizedImage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -127,6 +127,9 @@
 block discarded – undo
127 127
         $this->resizedImageFileName = static::createFilename($sourceFileName, $this->width, $this->height);
128 128
     }
129 129
 
130
+    /**
131
+     * @param string $fileName
132
+     */
130 133
     public static function createFilename($fileName, $width, $height)
131 134
     {
132 135
         $pathInfo = pathinfo($fileName);
Please login to merge, or discard this patch.