Skip to content

Commit a651ac7

Browse files
committed
Fix stray space
1 parent 090e766 commit a651ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPFUI/ORM/Validator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ private function validate_maxlength(mixed $value) : string
604604
return true; // zero length fields can't have a max length test
605605
}
606606

607-
$length = $this->currentParameters[0] ? ? $this->currentFieldDefinitions->length;
607+
$length = $this->currentParameters[0] ?? $this->currentFieldDefinitions->length;
608608

609609
return $this->testIt(\strlen((string)$value) <= $length, 'maxlength', ['value' => $value, 'length' => $length]);
610610
}

0 commit comments

Comments
 (0)