Skip to content

Commit

Permalink
更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Jan 21, 2019
1 parent 41492a4 commit e3fac4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"require": {
"php": ">=7.1.0",
"topthink/think-template":"^1.0"
"topthink/think-template":"^2.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/exception/TemplateNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __construct(string $message, string $template = '')
* @access public
* @return string
*/
public function getTemplate()
public function getTemplate(): string
{
return $this->template;
}
Expand Down

0 comments on commit e3fac4c

Please sign in to comment.