Completed
Push — master ( f44b26...73adc3 )
by Adam
02:18
created
src/IPub/MobileDetect/Latte/Macros.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -201,10 +201,10 @@  discard block
 block discarded – undo
201 201
 		}
202 202
 
203 203
 		// Create magic method name
204
-		$magicMethodName = 'is' . ucfirst(strtolower((string) $arguments["device"]));
204
+		$magicMethodName = 'is'.ucfirst(strtolower((string) $arguments["device"]));
205 205
 
206 206
 		return $writer->write('
207
-			$_resultMD = property_exists($this, "filters") ? %escape(call_user_func($this->filters->isDevice, "' . $arguments['device'] . '")) : $template->getMobileDetectService()->'. $magicMethodName.'();
207
+			$_resultMD = property_exists($this, "filters") ? %escape(call_user_func($this->filters->isDevice, "' . $arguments['device'].'")) : $template->getMobileDetectService()->'.$magicMethodName.'();
208 208
 			if ($_resultMD) {
209 209
 			');
210 210
 	}
@@ -226,10 +226,10 @@  discard block
 block discarded – undo
226 226
 		}
227 227
 
228 228
 		// Create magic method name
229
-		$magicMethodName = 'is' . ucfirst(strtolower((string) $arguments["os"]));
229
+		$magicMethodName = 'is'.ucfirst(strtolower((string) $arguments["os"]));
230 230
 
231 231
 		return $writer->write('
232
-			$_resultMD = property_exists($this, "filters") ? %escape(call_user_func($this->filters->isOs, "' . $arguments['os'] . '")) : $template->getMobileDetectService()->'. $magicMethodName.'();
232
+			$_resultMD = property_exists($this, "filters") ? %escape(call_user_func($this->filters->isOs, "' . $arguments['os'].'")) : $template->getMobileDetectService()->'.$magicMethodName.'();
233 233
 			if ($_resultMD) {
234 234
 			');
235 235
 	}
Please login to merge, or discard this patch.