Fixed the file with php-cs-fixer

This commit is contained in:
Ahmad Nazir Raja 2014-05-16 00:23:05 +02:00
parent e45bd181f0
commit 6d3df93df6
1 changed files with 4 additions and 2 deletions

View File

@ -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();
} }