From 3a4951fb7f059635295f688a895ed4f1605674fc Mon Sep 17 00:00:00 2001 From: Oliver Etchebarne Date: Fri, 12 Apr 2024 20:33:30 -0500 Subject: [PATCH] Update blank lines --- src/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/View.php b/src/View.php index eb0d421..f989cba 100644 --- a/src/View.php +++ b/src/View.php @@ -78,7 +78,6 @@ public function addArguments(array $args) $this->args = [...$this->args, ...$args]; } - public function render(): string { // Verificamos que el source y el layout existan @@ -87,6 +86,7 @@ public function render(): string type: 'view', ext: 'php', ); + if (is_null($this->view_file)) { throw new ResourceNotFoundException( "View source '{$this->view}' not found",