| @@ -67,7 +67,7 @@ | ||
| 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], | 
| @@ -270,8 +270,7 @@ | ||
| 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'. " . |