Skip to content

Commit f045969

Browse files
Update src/Query/Schema/Table.php
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 1cdeee3 commit f045969

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Query/Schema/Table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ public function settings(array $settings): static
728728
// output.
729729
$sanitized[$key] = \rtrim(\rtrim(\sprintf('%F', $value), '0'), '.');
730730
} elseif (\is_string($value)) {
731-
if (! \preg_match('/^[A-Za-z0-9_.\ -+\/]+$/', $value)) {
731+
if (! \preg_match('/^[A-Za-z0-9_. +\/\-]+$/', $value)) {
732732
throw new ValidationException(
733733
'Invalid setting value for ' . $key . ': must match [A-Za-z0-9_.\\-+/]*'
734734
);

0 commit comments

Comments
 (0)