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 */
|
||||
private $changeHelper;
|
||||
/** @var LabelServiceValidator */
|
||||
private LabelServiceValidator $labelServiceValidator;
|
||||
private $labelServiceValidator;
|
||||
|
||||
public function __construct(
|
||||
LabelMapper $labelMapper,
|
||||
|
||||
@@ -30,7 +30,8 @@ use OCA\Deck\BadRequestException;
|
||||
use OCA\Deck\Validators\BaseValidator;
|
||||
|
||||
abstract class ValidatorTestBase extends \PHPUnit\Framework\TestCase {
|
||||
protected BaseValidator $validator;
|
||||
/** @var BaseValidator */
|
||||
protected $validator;
|
||||
|
||||
public function setUpValidatorTest($class = null): void {
|
||||
parent::setUp();
|
||||
|
||||
Reference in New Issue
Block a user