@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Asmaster\EquipTwig; |
4 | 4 | |
5 | -use Equip\Payload; |
|
6 | 5 | use Equip\Adr\PayloadInterface; |
7 | 6 | use Equip\Formatter\HtmlFormatter; |
8 | 7 | use Lukasoppermann\Httpstatus\Httpstatus; |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | $host .= ':' . $uri->getPort(); |
44 | 44 | } |
45 | 45 | |
46 | - if (! $this->hasLeadingSlash($path)) { |
|
46 | + if (!$this->hasLeadingSlash($path)) { |
|
47 | 47 | $path = rtrim($uri->getPath(), '/') . '/' . $path; |
48 | 48 | } |
49 | 49 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function generateRelativeUrl($path) |
58 | 58 | { |
59 | - if ($this->isNetworkPath($path) || ! $this->hasLeadingSlash($path)) { |
|
59 | + if ($this->isNetworkPath($path) || !$this->hasLeadingSlash($path)) { |
|
60 | 60 | return $path; |
61 | 61 | } |
62 | 62 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | */ |
18 | 18 | public function apply(Injector $injector) |
19 | 19 | { |
20 | - $injector->prepare(FormattedResponder::class, function (FormattedResponder $responder) { |
|
20 | + $injector->prepare(FormattedResponder::class, function(FormattedResponder $responder) { |
|
21 | 21 | return $responder->withValue(TwigFormatter::class, 1.0); |
22 | 22 | }); |
23 | 23 |