dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update ImportableUploadRevisionImporter for interwiki usernames
[lhc/web/wiklou.git]
/
includes
/
import
/
UploadSourceAdapter.php
diff --git
a/includes/import/UploadSourceAdapter.php
b/includes/import/UploadSourceAdapter.php
index
17fbdfb
..
ccacbe4
100644
(file)
--- a/
includes/import/UploadSourceAdapter.php
+++ b/
includes/import/UploadSourceAdapter.php
@@
-30,7
+30,7
@@
*/
class UploadSourceAdapter {
/** @var array */
*/
class UploadSourceAdapter {
/** @var array */
- public static $sourceRegistrations =
array()
;
+ public static $sourceRegistrations =
[]
;
/** @var string */
private $mSource;
/** @var string */
private $mSource;
@@
-57,7
+57,7
@@
class UploadSourceAdapter {
* @param string $path
* @param string $mode
* @param array $options
* @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 bool
*/
function stream_open( $path, $mode, $options, &$opened_path ) {
@@
-128,7
+128,7
@@
class UploadSourceAdapter {
* @return array
*/
function url_stat() {
* @return array
*/
function url_stat() {
- $result =
array()
;
+ $result =
[]
;
$result['dev'] = $result[0] = 0;
$result['ino'] = $result[1] = 0;
$result['dev'] = $result[0] = 0;
$result['ino'] = $result[1] = 0;