Completed
Push — master ( cafd23...3e4420 )
by Michal
05:16
created
src/Webrouse/AssetMacro/ManifestService.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,8 +97,7 @@
 block discarded – undo
97 97
 	{
98 98
 		// Finding a manifest begins in the asset directory
99 99
 		$dir = $assetPath ?
100
-			$this->config->getAssetsPath() . DIRECTORY_SEPARATOR . Utils::normalizePath(dirname($assetPath)) :
101
-			$this->config->getAssetsPath();
100
+			$this->config->getAssetsPath() . DIRECTORY_SEPARATOR . Utils::normalizePath(dirname($assetPath)) : $this->config->getAssetsPath();
102 101
 
103 102
 		// Autodetect manifest
104 103
 		while (Strings::startsWith($dir, $this->config->getAssetsPath())) {
Please login to merge, or discard this patch.
src/Webrouse/AssetMacro/Formatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
 		return Strings::replace($format,
38 38
 			'/%([^%]+)%/',
39
-			function ($matches) use ($asset, $format, $base) {
39
+			function($matches) use ($asset, $format, $base) {
40 40
 				switch ($matches[1]) {
41 41
 					case 'content':
42 42
 						$content = file_get_contents($asset->getAbsolutePath());
Please login to merge, or discard this patch.