Completed
Push — develop ( 3b12ab...668576 )
by Simon
02:22
created
src/BaseApplication.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
 
173 173
 		foreach( $this->services['config']->get('modules', []) as $name => $module ) {
174 174
 			list($package, $namespace) = $module;
175
-			$class = $namespace. '\\Module';
175
+			$class = $namespace . '\\Module';
176 176
 			$this->modules[$name] = new $class($this->services);
177 177
 		}
178 178
 
Please login to merge, or discard this patch.
src/BaseRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 
170 170
 		// do geo-ip stuff if we have a valid IP that isn't part of a private network
171 171
 		if( $this->ip ) {
172
-			$this->country_code = function_exists('geoip_country_code_by_name')   ? geoip_country_code_by_name($this->ip)   : '';
172
+			$this->country_code = function_exists('geoip_country_code_by_name') ? geoip_country_code_by_name($this->ip) : '';
173 173
 			$this->continent    = function_exists('geoip_continent_code_by_name') ? geoip_continent_code_by_name($this->ip) : '';
174 174
 		}
175 175
 
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
 		if( $this->uri == $uri_prefix )
221 221
 			return '/';
222 222
 		else
223
-			return preg_replace('/^'. preg_quote($uri_prefix, '/'). '/', '', $this->uri);
223
+			return preg_replace('/^' . preg_quote($uri_prefix, '/') . '/', '', $this->uri);
224 224
 
225 225
 	}
226 226
 
Please login to merge, or discard this patch.