We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86eedfa commit d5a0e7bCopy full SHA for d5a0e7b
src/validator-docs/Rules/Placa.php
@@ -8,8 +8,6 @@ final class Placa extends Sanitization
8
{
9
public function validatePlaca($attribute, $placa): bool
10
11
- $placa = $this->sanitize($placa);
12
-
13
$regexPlaca = '/^[A-Z][0-9]{5}$|' . // Placas dos anos 1915-1941 [ex A12345]
14
'^[0-9]{7}$|' . // Placas dos anos 1941-1969 [ex 1234567]
15
'^[A-Z]{2}[0-9]{4}$|' . // Placas dos anos 1969-1990 [ex AA1234]
0 commit comments