Passed
Push — master ( ca2d95...dc8d53 )
by Anatoly
02:16
created
src/UriFactory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 	{
47 47
 		if (\array_key_exists('HTTPS', $SERVER))
48 48
 		{
49
-			if (! ('off' === $SERVER['HTTPS']))
49
+			if ( ! ('off' === $SERVER['HTTPS']))
50 50
 			{
51 51
 				$scheme = 'https://';
52 52
 			}
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
 		if (\array_key_exists('HTTP_HOST', $SERVER))
56 56
 		{
57 57
 			$domain = $SERVER['HTTP_HOST'];
58
-		}
59
-		else if (\array_key_exists('SERVER_NAME', $SERVER))
58
+		} else if (\array_key_exists('SERVER_NAME', $SERVER))
60 59
 		{
61 60
 			$domain = $SERVER['SERVER_NAME'];
62 61
 
@@ -69,8 +68,7 @@  discard block
 block discarded – undo
69 68
 		if (\array_key_exists('REQUEST_URI', $SERVER))
70 69
 		{
71 70
 			$target = $SERVER['REQUEST_URI'];
72
-		}
73
-		else if (\array_key_exists('PHP_SELF', $SERVER))
71
+		} else if (\array_key_exists('PHP_SELF', $SERVER))
74 72
 		{
75 73
 			$target = $SERVER['PHP_SELF'];
76 74
 
Please login to merge, or discard this patch.