Use precise ApiMain/ApiQuery type hints in all API modules
[lhc/web/wiklou.git] / includes / api / ApiQueryWatchlist.php
index 869faea..b198883 100644 (file)
@@ -32,7 +32,7 @@
  */
 class ApiQueryWatchlist extends ApiQueryGeneratorBase {
 
-       public function __construct( $query, $moduleName ) {
+       public function __construct( ApiQuery $query, $moduleName ) {
                parent::__construct( $query, $moduleName, 'wl' );
        }