*/
class UploadSourceAdapter {
/** @var array */
- public static $sourceRegistrations = array();
+ public static $sourceRegistrations = [];
/** @var string */
private $mSource;
* @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 ) {
* @return array
*/
function url_stat() {
- $result = array();
+ $result = [];
$result['dev'] = $result[0] = 0;
$result['ino'] = $result[1] = 0;