mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-23 16:06:44 +00:00
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:
parent
9759634145
commit
82654e0344
|
@ -7,6 +7,8 @@ use PageImages\ApiQueryPageImages;
|
|||
|
||||
class ApiQueryPageImagesProxyMock extends ApiQueryPageImages {
|
||||
|
||||
private ApiPageSet $pageSet;
|
||||
|
||||
/** @inheritDoc */
|
||||
public function __construct( ApiPageSet $pageSet ) {
|
||||
$this->pageSet = $pageSet;
|
||||
|
|
Loading…
Reference in a new issue