From 1a593833a2fad23eb0298b6638e8a0e518030958 Mon Sep 17 00:00:00 2001 From: Tortue Torche Date: Fri, 26 Jul 2013 13:07:30 +0200 Subject: [PATCH] Fix wrong var name `$helpers` to correctly load helper files in `GeneratorCommand.php`. --- src/Barryvdh/LaravelIdeHelper/GeneratorCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Barryvdh/LaravelIdeHelper/GeneratorCommand.php b/src/Barryvdh/LaravelIdeHelper/GeneratorCommand.php index 66a926e..8f4a78a 100755 --- a/src/Barryvdh/LaravelIdeHelper/GeneratorCommand.php +++ b/src/Barryvdh/LaravelIdeHelper/GeneratorCommand.php @@ -178,8 +178,8 @@ exit('Only to be used as an helper for your IDE');\n\n"; } //Include the helper file, if requested - if(!empty($helpers)){ - foreach($helpers as $helper){ + if(!empty($this->helpers)){ + foreach($this->helpers as $helper){ if (file_exists($helper)){ $output .= str_replace(array(''), '', \File::get($helper)); }