Merge "RecentChanges: Mark onRecentChangesPurgeRows() as void"
This commit is contained in:
commit
4018457753
2 changed files with 4 additions and 4 deletions
|
|
@ -3159,8 +3159,8 @@ class HookRunner implements
|
|||
);
|
||||
}
|
||||
|
||||
public function onRecentChangesPurgeRows( $rows ) {
|
||||
return $this->container->run(
|
||||
public function onRecentChangesPurgeRows( $rows ): void {
|
||||
$this->container->run(
|
||||
'RecentChangesPurgeRows',
|
||||
[ $rows ]
|
||||
);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ interface RecentChangesPurgeRowsHook {
|
|||
* @since 1.35
|
||||
* @param \stdClass[] $rows Deleted rows as an array of recentchanges row objects (with up to
|
||||
* $wgUpdateRowsPerQuery items)
|
||||
* @return bool|void True or no return value to continue or false to abort
|
||||
* @return void This hook must not abort, it must return no value
|
||||
*/
|
||||
public function onRecentChangesPurgeRows( $rows );
|
||||
public function onRecentChangesPurgeRows( $rows ): void;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue