Skip to content

Commit

Permalink
Replaced the variable with the getter method. (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
pacodes authored and samdark committed Sep 16, 2019
1 parent 7fa4b03 commit d568625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller.php
Expand Up @@ -64,7 +64,7 @@ private function findLayoutFile(?string $file): ?string
return $file;
}

return $file . '.' . $this->view->defaultExtension;
return $file . '.' . $this->view->getDefaultExtension();
}

abstract protected function getId(): string;
Expand Down

0 comments on commit d568625

Please sign in to comment.