Passed
Push — develop ( d90dee...8d2d50 )
by nguereza
01:46
created
src/Rule/DateBefore.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
      */
94 94
     public function getErrorMessage(string $field, $value, Validator $validator): string
95 95
     {
96
-        if($this->include){
96
+        if ($this->include) {
97 97
            return $validator->translate(
98 98
                 '%s must be before or equal to the date [%s]!',
99 99
                 $validator->getLabel($field),
Please login to merge, or discard this patch.
src/Rule/DateAfter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
      */
94 94
     public function getErrorMessage(string $field, $value, Validator $validator): string
95 95
     {
96
-        if($this->include){
96
+        if ($this->include) {
97 97
             return $validator->translate(
98 98
                 '%s must be after or equal to the date [%s]!',
99 99
                 $validator->getLabel($field),
Please login to merge, or discard this patch.