This commit is contained in:
nuno maduro
2026-05-04 08:02:09 -03:00
parent b828ddcec7
commit d17be9decd
5 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ final class TableExtractor
}
$prefix = strtolower(substr($trimmed, 0, 6));
$matched = array_any(self::DML_PREFIXES, fn ($dml): bool => str_starts_with($prefix, (string) $dml));
$matched = array_any(self::DML_PREFIXES, fn (string $dml): bool => str_starts_with($prefix, $dml));
if (! $matched) {
return [];