X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fimport%2FUploadSourceAdapter.php;h=ccacbe4a7c62ec634aaf4ad5fa6ed96ddc359bb2;hb=048089ae3a052deaac1003996247ce86e5a60bfc;hp=17fbdfb43a6a0554f650c8b6107616d9a735b227;hpb=b24a0048185fe7c4d86f8b55872ad749c6ab52e6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/import/UploadSourceAdapter.php b/includes/import/UploadSourceAdapter.php index 17fbdfb43a..ccacbe4a7c 100644 --- a/includes/import/UploadSourceAdapter.php +++ b/includes/import/UploadSourceAdapter.php @@ -30,7 +30,7 @@ */ class UploadSourceAdapter { /** @var array */ - public static $sourceRegistrations = array(); + public static $sourceRegistrations = []; /** @var string */ private $mSource; @@ -57,7 +57,7 @@ class UploadSourceAdapter { * @param string $path * @param string $mode * @param array $options - * @param string $opened_path + * @param string &$opened_path * @return bool */ function stream_open( $path, $mode, $options, &$opened_path ) { @@ -128,7 +128,7 @@ class UploadSourceAdapter { * @return array */ function url_stat() { - $result = array(); + $result = []; $result['dev'] = $result[0] = 0; $result['ino'] = $result[1] = 0;