@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | { |
| 16 | 16 | public function __construct( |
| 17 | 17 | private InputManager $input, |
| 18 | - ) { |
|
| 18 | + ){ |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | public function withPrefix(string $prefix, bool $add = true): InputInterface |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | public function getValue(string $source, mixed $name = null): mixed |
| 30 | 30 | { |
| 31 | - if (!$this->input->hasBag($source) && !\method_exists($this->input, $source)) { |
|
| 31 | + if (!$this->input->hasBag($source) && !\method_exists($this->input, $source)){ |
|
| 32 | 32 | throw new InputException(\sprintf('Undefined input source %s', $source)); |
| 33 | 33 | } |
| 34 | 34 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | public function hasValue(string $source, string $name): bool |
| 39 | 39 | { |
| 40 | - if (!$this->input->hasBag($source)) { |
|
| 40 | + if (!$this->input->hasBag($source)){ |
|
| 41 | 41 | return false; |
| 42 | 42 | } |
| 43 | 43 | |