Skip to content

Commit d48af17

Browse files
authored
fix whitespace
1 parent 42dd945 commit d48af17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Hex.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct($forceFull = false, $allowAlpha = false)
3434
public function passes($attribute, $value)
3535
{
3636
$pattern = '/^#([a-fA-F0-9]{6}';
37-
37+
3838
if (!$this->forceFull) {
3939
$pattern .= '|[a-fA-F0-9]{3}';
4040
}
@@ -47,7 +47,6 @@ public function passes($attribute, $value)
4747
}
4848
}
4949

50-
5150
$pattern .= ')$/';
5251

5352
return (bool) preg_match($pattern, $value);

0 commit comments

Comments
 (0)