Skip to content

Commit

Permalink
View 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Jul 4, 2022
1 parent 5e8403c commit 736eeee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 736eeee

Please sign in to comment.