Fixed the file with php-cs-fixer
This commit is contained in:
parent
e45bd181f0
commit
6d3df93df6
|
@ -68,7 +68,8 @@ class HtmlCommand extends Command
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function generateContent($templatePath, $contentType) {
|
protected function generateContent($templatePath, $contentType)
|
||||||
|
{
|
||||||
// We build these into a single string so that we can deploy this resume as a
|
// We build these into a single string so that we can deploy this resume as a
|
||||||
// single file.
|
// single file.
|
||||||
$assetPath = join(DIRECTORY_SEPARATOR, array($templatePath, $contentType));
|
$assetPath = join(DIRECTORY_SEPARATOR, array($templatePath, $contentType));
|
||||||
|
@ -91,11 +92,12 @@ class HtmlCommand extends Command
|
||||||
$assets
|
$assets
|
||||||
);
|
);
|
||||||
|
|
||||||
switch($contentType) {
|
switch ($contentType) {
|
||||||
case 'css':
|
case 'css':
|
||||||
$collection->ensureFilter(new Filter\LessphpFilter());
|
$collection->ensureFilter(new Filter\LessphpFilter());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $collection->dump();
|
return $collection->dump();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue