Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ytake committed Nov 24, 2016
1 parent a53c15f commit 1bc0d1f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/Console/CacheClearCommand.php
Expand Up @@ -87,9 +87,9 @@ public function fire()
protected function getOptions()
{
return [
['file', 'f', InputOption::VALUE_OPTIONAL, 'specify file'],
['time', 't', InputOption::VALUE_OPTIONAL, 'clear all of the files that are specified duration time'],
['cache_id', 'cache', InputOption::VALUE_OPTIONAL, 'specified cache_id groups'],
['file', 'f', InputOption::VALUE_OPTIONAL, 'Specify file'],
['time', 't', InputOption::VALUE_OPTIONAL, 'Clear all of the files that are specified duration time'],
['cache_id', 'cache', InputOption::VALUE_OPTIONAL, 'Specified cache_id groups'],
];
}
}
4 changes: 2 additions & 2 deletions src/Console/ClearCompiledCommand.php
Expand Up @@ -81,8 +81,8 @@ public function fire()
protected function getOptions()
{
return [
['file', 'f', InputOption::VALUE_OPTIONAL, 'specify file'],
['compile_id', 'compile', InputOption::VALUE_OPTIONAL, 'specified compile_id'],
['file', 'f', InputOption::VALUE_OPTIONAL, 'Specify file'],
['compile_id', 'compile', InputOption::VALUE_OPTIONAL, 'Specified compile_id'],
];
}
}
6 changes: 3 additions & 3 deletions src/Console/OptimizeCommand.php
Expand Up @@ -78,7 +78,7 @@ public function fire()
$contents = ob_get_contents();
ob_get_clean();
$this->info("{$compileFiles} template files recompiled");
$this->comment(str_replace("<br>", "\n", trim($contents)));
$this->comment(str_replace("<br>", "", trim($contents)));
return;
}

Expand All @@ -90,8 +90,8 @@ public function fire()
protected function getOptions()
{
return [
['extension', 'e', InputOption::VALUE_OPTIONAL, 'specified smarty file extension'],
['force', null, InputOption::VALUE_NONE, 'compiles template files found in views directory'],
['extension', 'e', InputOption::VALUE_OPTIONAL, 'Specified smarty file extension'],
['force', null, InputOption::VALUE_NONE, 'Compiles template files found in views directory'],
];
}

Expand Down
1 change: 0 additions & 1 deletion src/SmartyFactory.php
Expand Up @@ -17,7 +17,6 @@
*/
namespace Ytake\LaravelSmarty;

use Ytake\LaravelSmarty\Smarty;
use ReflectionClass;
use Illuminate\View\Factory;
use Illuminate\View\ViewFinderInterface;
Expand Down
1 change: 0 additions & 1 deletion src/SmartyServiceProvider.php
Expand Up @@ -17,7 +17,6 @@
*/
namespace Ytake\LaravelSmarty;

use Ytake\LaravelSmarty\Smarty;
use Illuminate\Support\ServiceProvider;

/**
Expand Down

0 comments on commit 1bc0d1f

Please sign in to comment.