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
build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0
[lhc/web/wiklou.git]
/
includes
/
libs
/
rdbms
/
database
/
resultwrapper
/
FakeResultWrapper.php
diff --git
a/includes/libs/rdbms/database/resultwrapper/FakeResultWrapper.php
b/includes/libs/rdbms/database/resultwrapper/FakeResultWrapper.php
index
1a046cf
..
493cde8
100644
(file)
--- a/
includes/libs/rdbms/database/resultwrapper/FakeResultWrapper.php
+++ b/
includes/libs/rdbms/database/resultwrapper/FakeResultWrapper.php
@@
-1,4
+1,9
@@
<?php
<?php
+
+namespace Wikimedia\Rdbms;
+
+use stdClass;
+
/**
* Overloads the relevant methods of the real ResultsWrapper so it
* doesn't go anywhere near an actual database.
/**
* Overloads the relevant methods of the real ResultsWrapper so it
* doesn't go anywhere near an actual database.
@@
-56,3
+61,5
@@
class FakeResultWrapper extends ResultWrapper {
return $this->fetchObject();
}
}
return $this->fetchObject();
}
}
+
+class_alias( FakeResultWrapper::class, 'FakeResultWrapper' );