Skip to content

Commit

Permalink
refactor(view): improve codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Feb 5, 2022
1 parent f31e9f0 commit 7b19fae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public function fetch(string $view, array $data = [], ?callable $callback = null
*
* @throws ViewInvalidArgumentException
*
* @return self
* @return string
*/
public function fetchFirst(array $views, array $data = [], ?callable $callback = null): string
{
Expand Down Expand Up @@ -446,8 +446,6 @@ public function include(string $view, array $data = [], ?callable $callback = nu
* @param callable|null $callback Callback function used to filter output.
*
* @throws ViewInvalidArgumentException
*
* @return self
*/
public function includeFirst(array $views, array $data = [], ?callable $callback = null): void
{
Expand Down

0 comments on commit 7b19fae

Please sign in to comment.