@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | * |
| 24 | 24 | * @param RouteMatcher[] $collection |
| 25 | 25 | */ |
| 26 | - public function __construct(array $collection=[]) |
|
| 26 | + public function __construct(array $collection = []) |
|
| 27 | 27 | { |
| 28 | 28 | $this->merge($collection); |
| 29 | 29 | } |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | * @param array $collection |
| 35 | 35 | * @return void |
| 36 | 36 | */ |
| 37 | - public function merge(array $collection=[]) |
|
| 37 | + public function merge(array $collection = []) |
|
| 38 | 38 | { |
| 39 | 39 | $this->collection = array_merge($this->collection, $collection); |
| 40 | 40 | } |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | * @param string $name |
| 58 | 58 | * @return RouteMatcher|null |
| 59 | 59 | */ |
| 60 | - public function get(string $name):?RouteMatcher |
|
| 60 | + public function get(string $name): ?RouteMatcher |
|
| 61 | 61 | { |
| 62 | 62 | return $this->collection[$name] ?? null; |
| 63 | 63 | } |