Skip to content

Commit 0f49e2a

Browse files
committed
Support PHP 7.3
1 parent 4507612 commit 0f49e2a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
],
2323
"require": {
24-
"php": "^7.4 || ^8.0",
24+
"php": "^7.3 || ^8.0",
2525
"psr/http-message": "^1.0",
2626
"psr/http-server-handler": "^1.0",
2727
"respect/validation": "2.0.17"

src/Validator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ class Validator
1010
/**
1111
* @var array values
1212
*/
13-
protected array $values = [];
13+
protected $values = [];
1414

1515
/**
1616
* @var array errors
1717
*/
18-
protected array $errors = [];
18+
protected $errors = [];
1919

2020
/**
2121
* @var bool Use Session variable to store data
2222
* If set to true, use ValidationMiddleware to extract the error from the Session.
2323
*/
24-
protected bool $useSession;
24+
protected $useSession;
2525

2626
/**
2727
* Validator constructor.

src/ValidatorMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ValidatorMiddleware
1111
/**
1212
* @var Validator Instance
1313
*/
14-
protected Validator $validator;
14+
protected $validator;
1515

1616
/**
1717
* ValidatorMiddleware constructor.

src/ValidatorTwig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ValidatorTwig extends AbstractExtension
1616
/**
1717
* @var Validator Instance
1818
*/
19-
protected Validator $validator;
19+
protected $validator;
2020

2121
/**
2222
* ValidatorTwig constructor.

0 commit comments

Comments
 (0)