Test Failed
Push — master ( 9e1782...59fb8f )
by butschster
08:36
created
src/Framework/Filter/InputScope.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,8 @@  discard block
 block discarded – undo
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 33
             throw new InputException(\sprintf('Undefined input source %s', $source));
33 34
         }
34 35
 
@@ -37,7 +38,8 @@  discard block
 block discarded – undo
37 38
 
38 39
     public function hasValue(string $source, string $name): bool
39 40
     {
40
-        if (!$this->input->hasBag($source)) {
41
+        if (!$this->input->hasBag($source))
42
+        {
41 43
             return false;
42 44
         }
43 45
 
Please login to merge, or discard this patch.