@@ -147,7 +147,7 @@ |
||
| 147 | 147 | /** |
| 148 | 148 | * Call all the registered callbacks of a particular type. |
| 149 | 149 | * @param integer $type The callback type; should match one of the 'CALLBACK_' constants. |
| 150 | - * @param mixed[] $params The parameters to pass to the callback function. |
|
| 150 | + * @param Page[] $params The parameters to pass to the callback function. |
|
| 151 | 151 | */ |
| 152 | 152 | protected function call( $type, $params ) { |
| 153 | 153 | if ( !isset( $this->callbacks[$type] ) ) { |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Mediawiki\Api\MediawikiApi; |
| 7 | 7 | use Mediawiki\Api\SimpleRequest; |
| 8 | 8 | use Mediawiki\DataModel\Page; |
| 9 | -use Mediawiki\DataModel\PageIdentifier; |
|
| 10 | 9 | use Mediawiki\DataModel\Pages; |
| 11 | 10 | |
| 12 | 11 | /** |