Skip to content

Commit 736eeee

Browse files
committed
View 2.0.0
1 parent 5e8403c commit 736eeee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/View.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ public function __construct(string|null $view = null, array $data = [])
149149
/**
150150
* Set view file path.
151151
*
152-
* @param string|null $view Name of the view file.
152+
* @param string $view Name of the view file.
153153
*
154154
* @return $this
155155
*/
156-
public function file(string|null $view = null): self
156+
public function file(string $view): self
157157
{
158158
$viewFilePath = self::getFilePath($view);
159159

0 commit comments

Comments
 (0)