@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace hanneskod\clean; |
6 | 6 | |
@@ -71,8 +71,8 @@ discard block |
||
71 | 71 | */ |
72 | 72 | public function regexp(string $regexp): Rule |
73 | 73 | { |
74 | - return $this->match('is_string', function (string $value) use ($regexp): bool { |
|
75 | - return (bool)preg_match($regexp, $value); |
|
74 | + return $this->match('is_string', function(string $value) use ($regexp): bool { |
|
75 | + return (bool) preg_match($regexp, $value); |
|
76 | 76 | }); |
77 | 77 | } |
78 | 78 |