Completed
Pull Request — develop (#740)
by Maxim
08:32
created
manager/media/browser/mcpuk/core/browser.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
     }
442 442
 
443 443
     /**
444
-     * @return bool
444
+     * @return null|boolean
445 445
      */
446 446
     protected function act_delete()
447 447
     {
@@ -796,7 +796,7 @@  discard block
 block discarded – undo
796 796
 
797 797
     /**
798 798
      * @param $file
799
-     * @param $dir
799
+     * @param string $dir
800 800
      * @return string
801 801
      */
802 802
     protected function moveUploadFile($file, $dir)
@@ -851,7 +851,7 @@  discard block
 block discarded – undo
851 851
     }
852 852
 
853 853
     /**
854
-     * @param null $file
854
+     * @param string $file
855 855
      */
856 856
     protected function sendDefaultThumb($file = null)
857 857
     {
@@ -1102,7 +1102,7 @@  discard block
 block discarded – undo
1102 1102
     }
1103 1103
 
1104 1104
     /**
1105
-     * @param $message
1105
+     * @param string $message
1106 1106
      * @param array|null $data
1107 1107
      */
1108 1108
     protected function errorMsg($message, array $data = null)
Please login to merge, or discard this patch.
manager/media/browser/mcpuk/core/uploader.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
 
313 313
     /**
314 314
      * @param $filename
315
-     * @return mixed|string
315
+     * @return string
316 316
      */
317 317
     protected function normalizeFilename($filename) {
318 318
 		if ($this->getTransaliasSettings()) {
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
 	}
325 325
 
326 326
     /**
327
-     * @param $dirname
327
+     * @param string $dirname
328 328
      * @return string
329 329
      */
330 330
     protected function normalizeDirname($dirname) {
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
      * @param $dir
409 409
      * @param bool $inclType
410 410
      * @param bool $existing
411
-     * @return bool|string
411
+     * @return false|string
412 412
      */
413 413
     protected function checkInputDir($dir, $inclType=true, $existing=true) {
414 414
         $dir = path::normalize($dir);
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
     }
438 438
 
439 439
     /**
440
-     * @param $ext
440
+     * @param string $ext
441 441
      * @param $type
442 442
      * @return bool
443 443
      */
@@ -468,7 +468,7 @@  discard block
 block discarded – undo
468 468
 
469 469
     /**
470 470
      * @param $path
471
-     * @return mixed
471
+     * @return string
472 472
      */
473 473
     protected function getTypeFromPath($path) {
474 474
         return preg_match('/^([^\/]*)\/.*$/', $path, $patt)
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
     }
477 477
 
478 478
     /**
479
-     * @param $path
479
+     * @param string $path
480 480
      * @return string
481 481
      */
482 482
     protected function removeTypeFromPath($path) {
@@ -694,7 +694,7 @@  discard block
 block discarded – undo
694 694
     }
695 695
 
696 696
     /**
697
-     * @param $url
697
+     * @param string $url
698 698
      * @param string $message
699 699
      */
700 700
     protected function callBack($url, $message="") {
Please login to merge, or discard this patch.