Skip to content

Commit

Permalink
update: update some template codes
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Nov 11, 2021
1 parent 88a7bf4 commit 6aeb326
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion app/Lib/Template/AbstractTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ protected function findTplFile(string $tplName): string
}
}

throw new InvalidArgumentException("no such template file: $tplName");
throw new InvalidArgumentException("tplDir - no such template file: $tplName");
}

/**
Expand Down
1 change: 0 additions & 1 deletion app/Lib/Template/EasyTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Inhere\Kite\Lib\Template\Contract\EasyTemplateInterface;
use InvalidArgumentException;
use Toolkit\FsUtil\File;
use function basename;
use function is_string;

/**
Expand Down

0 comments on commit 6aeb326

Please sign in to comment.