Merge "Align "What's this" vertically"
[lhc/web/wiklou.git] / includes / import / UploadSourceAdapter.php
index 17fbdfb..ccacbe4 100644 (file)
@@ -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;