From 5a22e9eb18c991ddb5a3807ec058db74cff699d9 Mon Sep 17 00:00:00 2001 From: Brandon Date: Wed, 17 Jun 2020 22:53:49 -0500 Subject: [PATCH] fix(get): Return the partial include --- src/Composer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer.php b/src/Composer.php index eafae598..ce38ef5b 100644 --- a/src/Composer.php +++ b/src/Composer.php @@ -138,7 +138,7 @@ public function get($name = '', $path = 'Fields') '.' => '/' ]); - include $this->app->path( + return include $this->app->path( Str::finish( Str::finish($path, '/'), Str::finish($name, '.php')