Completed
Push — master ( 952cdd...02a33e )
by Adam
02:17
created
src/IPub/MobileDetect/Latte/Macros.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 			throw new Exceptions\CompileException('Please provide device name.');
183 183
 		}
184 184
 
185
-		return $writer->write('if (%escape(call_user_func($this->filters->isDevice, "' . $arguments['device'] . '"))) {');
185
+		return $writer->write('if (%escape(call_user_func($this->filters->isDevice, "'.$arguments['device'].'"))) {');
186 186
 	}
187 187
 
188 188
 	/**
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 			throw new Exceptions\CompileException('Please provide OS name.');
202 202
 		}
203 203
 
204
-		return $writer->write('if (%escape(call_user_func($this->filters->isOs, "' . $arguments['os'] . '"))) {');
204
+		return $writer->write('if (%escape(call_user_func($this->filters->isOs, "'.$arguments['os'].'"))) {');
205 205
 	}
206 206
 
207 207
 	/**
Please login to merge, or discard this patch.