@@ -114,7 +114,7 @@ |
||
| 114 | 114 | return $this->services['http.client'] = new PluginClient($http, $plugins); |
| 115 | 115 | } |
| 116 | 116 | |
| 117 | - private function getTwigService(): ?Twig_Environment |
|
| 117 | + private function getTwigService(): ? Twig_Environment |
|
| 118 | 118 | { |
| 119 | 119 | if (!class_exists(Twig_Environment::class)) { |
| 120 | 120 | return $this->services['twig'] = null; |
@@ -100,7 +100,7 @@ |
||
| 100 | 100 | ->thenUnset() |
| 101 | 101 | ->end() |
| 102 | 102 | ->validate() |
| 103 | - ->ifTrue(function ($v) { return !is_dir($v); }) |
|
| 103 | + ->ifTrue(function($v) { return !is_dir($v); }) |
|
| 104 | 104 | ->thenInvalid('Directory does not exist') |
| 105 | 105 | ->end() |
| 106 | 106 | ->end() |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | reset($this->tuples); |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - public function getLastResponse(): ?ResponseInterface |
|
| 55 | + public function getLastResponse(): ? ResponseInterface |
|
| 56 | 56 | { |
| 57 | 57 | if (1 > count($this->tuples)) { |
| 58 | 58 | return null; |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | } |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | - private function debug(?RequestInterface $request, ?ResponseInterface $response): void |
|
| 121 | + private function debug(? RequestInterface $request, ? ResponseInterface $response) : void |
|
| 122 | 122 | { |
| 123 | 123 | if (!$request instanceof RequestInterface) { |
| 124 | 124 | return; |