fix code style

This commit is contained in:
Mohit Panjwani
2021-06-24 14:21:43 +05:30
parent a0898a1fa0
commit f5c23b33da
10 changed files with 11 additions and 27 deletions

View File

@ -41,7 +41,7 @@ class CreateTemplateCommand extends Command
$templateName = $this->argument('name');
$type = $this->option('type');
if (!$type) {
if (! $type) {
$type = $this->choice('Create a template for?', ['invoice', 'estimate']);
}
@ -56,7 +56,7 @@ class CreateTemplateCommand extends Command
$path = resource_path("app/pdf/{$type}/{$templateName}.blade.php");
$type = ucfirst($type);
$this->info("{$type} Template created successfully at ". $path);
$this->info("{$type} Template created successfully at ".$path);
return 0;
}