mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-12-19 11:31:56 +00:00
82654e0344
Creation of dynamic property PageImages\Tests\ApiQueryPageImagesProxyMock::$pageSet is deprecated in php8.2 Change-Id: I9ce28b6126638ff3b7bdca6cbc04080448aabc0c
27 lines
457 B
PHP
27 lines
457 B
PHP
<?php
|
|
|
|
namespace PageImages\Tests;
|
|
|
|
use ApiPageSet;
|
|
use PageImages\ApiQueryPageImages;
|
|
|
|
class ApiQueryPageImagesProxyMock extends ApiQueryPageImages {
|
|
|
|
private ApiPageSet $pageSet;
|
|
|
|
/** @inheritDoc */
|
|
public function __construct( ApiPageSet $pageSet ) {
|
|
$this->pageSet = $pageSet;
|
|
}
|
|
|
|
/** @inheritDoc */
|
|
public function getPageSet() {
|
|
return $this->pageSet;
|
|
}
|
|
|
|
/** @inheritDoc */
|
|
public function getTitles() {
|
|
return parent::getTitles();
|
|
}
|
|
}
|