From 736eeee61acfe4074b646c1b4b640675a3a8dc11 Mon Sep 17 00:00:00 2001 From: Sergey Romanenko Date: Mon, 4 Jul 2022 10:05:50 +0300 Subject: [PATCH] View 2.0.0 --- src/View.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/View.php b/src/View.php index 2af899b..477383d 100644 --- a/src/View.php +++ b/src/View.php @@ -149,11 +149,11 @@ public function __construct(string|null $view = null, array $data = []) /** * Set view file path. * - * @param string|null $view Name of the view file. + * @param string $view Name of the view file. * * @return $this */ - public function file(string|null $view = null): self + public function file(string $view): self { $viewFilePath = self::getFilePath($view);