From 7b19fae13a8aec621ca542c353145147875ee3f7 Mon Sep 17 00:00:00 2001 From: Sergey Romanenko Date: Sat, 5 Feb 2022 18:35:58 +0300 Subject: [PATCH] refactor(view): improve codebase --- src/View.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/View.php b/src/View.php index 0d4e5ab..9f9abc8 100644 --- a/src/View.php +++ b/src/View.php @@ -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 { @@ -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 {