diff --git a/src/ServiceWiring.php b/src/ServiceWiring.php index 605741c..f32a341 100644 --- a/src/ServiceWiring.php +++ b/src/ServiceWiring.php @@ -14,7 +14,7 @@ /** @phpcs-require-sorted-array */ return [ - 'FlarumApiService' => function ( MediaWikiServices $services ) : FlarumApiService { + 'FlarumApiService' => static function ( MediaWikiServices $services ): FlarumApiService { return new FlarumApiService(); } ];