@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace PTS\Tools; |
5 | 5 | |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | { |
8 | 8 | public function create(string $pattern, string $replacement = ''): callable |
9 | 9 | { |
10 | - return function ($value) use ($pattern, $replacement): string { |
|
10 | + return function($value) use ($pattern, $replacement): string { |
|
11 | 11 | return preg_replace($pattern, $replacement, $value); |
12 | 12 | }; |
13 | 13 | } |