Completed
Pull Request — develop (#740)
by Maxim
08:32
created
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.