@@ -18,13 +18,13 @@ |
||
18 | 18 | throw new \BadMethodCallException('Not found controller name for dynamic controller point'); |
19 | 19 | } |
20 | 20 | |
21 | - return $this->prefix . $this->normalizeClassFromUrl($matches['_controller']); |
|
21 | + return $this->prefix.$this->normalizeClassFromUrl($matches['_controller']); |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | protected function normalizeClassFromUrl(string $class): string |
25 | 25 | { |
26 | - return array_reduce(explode('-', $class), function ($prev, $item) { |
|
27 | - return $prev . ucfirst($item); |
|
26 | + return array_reduce(explode('-', $class), function($prev, $item) { |
|
27 | + return $prev.ucfirst($item); |
|
28 | 28 | }); |
29 | 29 | } |
30 | 30 |