Completed
Push — master ( c4150d...a020cd )
by Michal
28:07 queued 26:32
created
src/Webrouse/AssetMacro/DI/Extension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 	 */
68 68
 	private function validateChoices($key, array $choices)
69 69
 	{
70
-		if ( ! in_array($this->config[$key], $choices)) {
70
+		if (!in_array($this->config[$key], $choices)) {
71 71
 			throw new UnexpectedValueException(sprintf(
72 72
 				"Unexpected value '%s' of '%s' configuration key. Allowed values: %s.",
73 73
 				$this->config[$key],
Please login to merge, or discard this patch.
src/Webrouse/AssetMacro/AssetMacro.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -270,8 +270,7 @@
 block discarded – undo
270 270
 						return $relativePath;
271 271
 					case 'url':
272 272
 						return $revisionIsVersion ?
273
-							sprintf("%s/%s?v=%s", $basePath, $relativePath, $revision) :
274
-							sprintf("%s/%s", $basePath, $relativePath);
273
+							sprintf("%s/%s?v=%s", $basePath, $relativePath, $revision) : sprintf("%s/%s", $basePath, $relativePath);
275 274
 					default:
276 275
 						$msg = sprintf(
277 276
 							"Asset macro: Invalid variable '%s' in format '%s'. " .
Please login to merge, or discard this patch.