@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | |
37 | 37 | public function __toString(): string |
38 | 38 | { |
39 | - return $this->pattern . $this->modifiers; |
|
39 | + return $this->pattern.$this->modifiers; |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | private function wrapInDelimiters(string $pattern): string |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | $matches = []; |
111 | 111 | preg_match_all((string) $this, $test, $matches, PREG_SET_ORDER); |
112 | 112 | |
113 | - $slice = function ($list) { |
|
113 | + $slice = function($list) { |
|
114 | 114 | return count($list) > 1 |
115 | 115 | ? array_slice($list, 1) |
116 | 116 | : $list; |
@@ -31,6 +31,6 @@ |
||
31 | 31 | : [$name]; |
32 | 32 | |
33 | 33 | foreach ($names as $filename) { |
34 | - require_once(__DIR__ . "/macros/{$ns}/{$filename}.php"); |
|
34 | + require_once(__DIR__."/macros/{$ns}/{$filename}.php"); |
|
35 | 35 | } |
36 | 36 | } |