File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments