Completed
Push — master ( 4a5d35...da7789 )
by Andrey
07:11
created
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.
ckfinder/src/CKSource/CKFinder/ResizedImage/ResizedImageAbstract.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -275,6 +275,7 @@
 block discarded – undo
275 275
 
276 276
     /**
277 277
      * Returns a directory path for the resized image.
278
+     * @return string
278 279
      */
279 280
     abstract public function getDirectory();
280 281
 }
Please login to merge, or discard this patch.
php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Thumbnail/Thumbnail.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
     /**
113 113
      * Creates a thumbnail.
114 114
      *
115
-     * @return bool
115
+     * @return boolean|null
116 116
      *
117 117
      * @throws \Exception
118 118
      */
Please login to merge, or discard this patch.
core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Utils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      * Checks if an array contains all specified keys.
101 101
      *
102 102
      * @param array $array
103
-     * @param array $keys
103
+     * @param string[] $keys
104 104
      *
105 105
      * @return `true` if the array has all required keys, `false` otherwise.
106 106
      */
Please login to merge, or discard this patch.
web/ckfinder/core/connector/php/vendor/composer/ClassLoader.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -367,6 +367,10 @@
 block discarded – undo
367 367
         return $file;
368 368
     }
369 369
 
370
+    /**
371
+     * @param string $class
372
+     * @param string $ext
373
+     */
370 374
     private function findFileWithExtension($class, $ext)
371 375
     {
372 376
         // PSR-4 lookup
Please login to merge, or discard this patch.
php/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
  */
10 10
 class BadResponseException extends RequestException
11 11
 {
12
+    /**
13
+     * @param string $message
14
+     */
12 15
     public function __construct(
13 16
         $message,
14 17
         RequestInterface $request,
Please login to merge, or discard this patch.