diff --git a/src/Controller/BaseController.php b/src/Controller/BaseController.php index 9f63ed2..9d23b42 100644 --- a/src/Controller/BaseController.php +++ b/src/Controller/BaseController.php @@ -4,7 +4,7 @@ namespace src\Controller; abstract class BaseController { public function __construct( - string $templatePath = __DIR__ . '/../../templates/' + protected string $templatePath = __DIR__ . '/../../templates/' ) {} protected function render(string $view, array $data = []): void