Completed
Push — master ( 5d4822...d1d02b )
by Maik
01:58
created
src/Generics/Util/Arrays.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,6 +37,6 @@
 block discarded – undo
37 37
      */
38 38
     public static function hasElement(array $array, $element):bool
39 39
     {
40
-    	return isset($array[$element]) && strlen($array[$element]) > 0;
40
+        return isset($array[$element]) && strlen($array[$element]) > 0;
41 41
     }
42 42
 }
Please login to merge, or discard this patch.
src/Generics/Util/UrlParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
     {
30 30
         $parts = parse_url($url);
31 31
 
32
-        if (! Arrays::hasElement($parts, 'host') ) {
32
+        if (!Arrays::hasElement($parts, 'host')) {
33 33
             throw new InvalidUrlException('This URL does not contain a host part');
34 34
         }
35
-        if (! Arrays::hasElement($parts, 'scheme') ) {
35
+        if (!Arrays::hasElement($parts, 'scheme')) {
36 36
             throw new InvalidUrlException('This URL does not contain a scheme part');
37 37
         }
38 38
 
Please login to merge, or discard this patch.