Passed
Push — master ( a3db06...6080f3 )
by Sebastian
03:13
created
src/Request/Param/Validator/Json.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,13 +50,11 @@
 block discarded – undo
50 50
                 {
51 51
                     return $value;
52 52
                 }
53
-            }
54
-            else if (is_array(json_decode($value, true, 512, JSON_THROW_ON_ERROR)))
53
+            } else if (is_array(json_decode($value, true, 512, JSON_THROW_ON_ERROR)))
55 54
             {
56 55
                 return $value;
57 56
             }
58
-        }
59
-        catch (Throwable $e)
57
+        } catch (Throwable $e)
60 58
         {
61 59
 
62 60
         }
Please login to merge, or discard this patch.
src/URLInfo/Parser/ParsedInfoFilter.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 block discarded – undo
41 41
         if($this->hasScheme())
42 42
         {
43 43
             $this->setScheme(strtolower($this->getScheme()));
44
-        }
45
-        else
44
+        } else
46 45
         {
47 46
             $scheme = URISchemes::detectScheme($this->url);
48 47
             if(!empty($scheme)) {
Please login to merge, or discard this patch.
src/URLInfo/URIParser.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -285,8 +285,7 @@
 block discarded – undo
285 285
             if(is_array($val))
286 286
             {
287 287
                 $val = $this->restoreUnicodeChars($val);
288
-            }
289
-            else
288
+            } else
290 289
             {
291 290
                 $val = $this->restoreUnicodeChar($val);
292 291
             }
Please login to merge, or discard this patch.