Passed
Branch master (50b35e)
by Martijn van
03:00
created
code/model/IpAccess.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,13 +29,13 @@
 block discarded – undo
29 29
 	public function hasAccess() {
30 30
 		if(!$this->allowedIps) {
31 31
 			return 'allowed';
32
-		}elseif($match = $this->matchExact()){
32
+		} elseif($match = $this->matchExact()){
33 33
 			return $match;
34
-		}elseif($match = $this->matchRange()){
34
+		} elseif($match = $this->matchRange()){
35 35
 			return $match;
36
-		}elseif($match = $this->matchCIDR()){
36
+		} elseif($match = $this->matchCIDR()){
37 37
 			return $match;
38
-		}elseif($match = $this->matchWildCard()){
38
+		} elseif($match = $this->matchWildCard()){
39 39
 			return $match;
40 40
 		}
41 41
 	}
Please login to merge, or discard this patch.
code/AdminLogin.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 	public static function getBackUrl() {
73 73
 		if(isset($_REQUEST['BackURL'])) {
74 74
 			return $_REQUEST['BackURL'];
75
-		}elseif(isset($_SESSION['BackURL'])) {
75
+		} elseif(isset($_SESSION['BackURL'])) {
76 76
 			return $_SESSION['BackURL'];
77 77
 		}
78 78
 	}
Please login to merge, or discard this patch.