X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryBase.php;h=ec432d8f11283a9e96d80200e1e51b81b6e3f298;hb=3ff807dd9a8e1e787b1290f610a5dff5739cd53c;hp=47ff0fb9219cc2c85e0669a8f563b1c9f6ae1f74;hpb=6f7c4dd5dc8929a6d3cb3e96d29729b4582c1721;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php index 47ff0fb921..ec432d8f11 100644 --- a/includes/api/ApiQueryBase.php +++ b/includes/api/ApiQueryBase.php @@ -21,7 +21,7 @@ */ use Wikimedia\Rdbms\IDatabase; -use Wikimedia\Rdbms\ResultWrapper; +use Wikimedia\Rdbms\IResultWrapper; /** * This is a base class for all Query modules. @@ -252,7 +252,7 @@ abstract class ApiQueryBase extends ApiBase { } /** - * Equivalent to addWhere(array($field => $value)) + * Equivalent to addWhere( [ $field => $value ] ) * @param string $field Field name * @param string|string[] $value Value; ignored if null or empty array */ @@ -368,7 +368,7 @@ abstract class ApiQueryBase extends ApiBase { * @param array|null &$hookData If set, the ApiQueryBaseBeforeQuery and * ApiQueryBaseAfterQuery hooks will be called, and the * ApiQueryBaseProcessRow hook will be expected. - * @return ResultWrapper + * @return IResultWrapper */ protected function select( $method, $extraQuery = [], array &$hookData = null ) { $tables = array_merge(