tests: Declare class property in ApiQueryPageImagesProxyMock

Creation of dynamic property
PageImages\Tests\ApiQueryPageImagesProxyMock::$pageSet is deprecated in
php8.2

Change-Id: I9ce28b6126638ff3b7bdca6cbc04080448aabc0c
This commit is contained in:
Umherirrender 2023-12-15 14:58:05 +01:00
parent 9759634145
commit 82654e0344

View file

@ -7,6 +7,8 @@ use PageImages\ApiQueryPageImages;
class ApiQueryPageImagesProxyMock extends ApiQueryPageImages { class ApiQueryPageImagesProxyMock extends ApiQueryPageImages {
private ApiPageSet $pageSet;
/** @inheritDoc */ /** @inheritDoc */
public function __construct( ApiPageSet $pageSet ) { public function __construct( ApiPageSet $pageSet ) {
$this->pageSet = $pageSet; $this->pageSet = $pageSet;