Adapt to older PHP versions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -42,7 +42,7 @@ class LabelService {
|
|||||||
/** @var ChangeHelper */
|
/** @var ChangeHelper */
|
||||||
private $changeHelper;
|
private $changeHelper;
|
||||||
/** @var LabelServiceValidator */
|
/** @var LabelServiceValidator */
|
||||||
private LabelServiceValidator $labelServiceValidator;
|
private $labelServiceValidator;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
LabelMapper $labelMapper,
|
LabelMapper $labelMapper,
|
||||||
|
|||||||
@@ -30,7 +30,8 @@ use OCA\Deck\BadRequestException;
|
|||||||
use OCA\Deck\Validators\BaseValidator;
|
use OCA\Deck\Validators\BaseValidator;
|
||||||
|
|
||||||
abstract class ValidatorTestBase extends \PHPUnit\Framework\TestCase {
|
abstract class ValidatorTestBase extends \PHPUnit\Framework\TestCase {
|
||||||
protected BaseValidator $validator;
|
/** @var BaseValidator */
|
||||||
|
protected $validator;
|
||||||
|
|
||||||
public function setUpValidatorTest($class = null): void {
|
public function setUpValidatorTest($class = null): void {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|||||||
Reference in New Issue
Block a user