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
Merge "mw.special.apisandbox: Use a real button to insert values in multi fields"
[lhc/web/wiklou.git]
/
includes
/
TitleArray.php
diff --git
a/includes/TitleArray.php
b/includes/TitleArray.php
index
0fb5b1e
..
bf2344b
100644
(file)
--- a/
includes/TitleArray.php
+++ b/
includes/TitleArray.php
@@
-24,6
+24,8
@@
* @file
*/
* @file
*/
+use Wikimedia\Rdbms\ResultWrapper;
+
/**
* The TitleArray class only exists to provide the newFromResult method at pre-
* sent.
/**
* The TitleArray class only exists to provide the newFromResult method at pre-
* sent.
@@
-37,7
+39,7
@@
abstract class TitleArray implements Iterator {
*/
static function newFromResult( $res ) {
$array = null;
*/
static function newFromResult( $res ) {
$array = null;
- if ( !Hooks::run( 'TitleArrayFromResult',
array( &$array, $res )
) ) {
+ if ( !Hooks::run( 'TitleArrayFromResult',
[ &$array, $res ]
) ) {
return null;
}
if ( $array === null ) {
return null;
}
if ( $array === null ) {