Compare commits

..

No commits in common. "main" and "1.0.4" have entirely different histories.
main ... 1.0.4

2 changed files with 1 additions and 5 deletions

View File

@ -15,11 +15,7 @@ class RegexColumnSpecification implements ColumnSpecificationInterface
public function isSatisfiedBy(string $value): bool
{
if(!empty($value) || !trim($value) === '') {
return preg_match($this->pattern, $value) === 1;
}else{
return true;
}
return preg_match($this->pattern, $value) === 1;
}
public function getErrorMessage(): string