mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-21 11:33:11 +00:00
Merge pull request #28 from tortuetorche/patch-1
Loading helper files is broken in GeneratorCommand.php
This commit is contained in:
@@ -178,8 +178,8 @@ exit('Only to be used as an helper for your IDE');\n\n";
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Include the helper file, if requested
|
//Include the helper file, if requested
|
||||||
if(!empty($helpers)){
|
if(!empty($this->helpers)){
|
||||||
foreach($helpers as $helper){
|
foreach($this->helpers as $helper){
|
||||||
if (file_exists($helper)){
|
if (file_exists($helper)){
|
||||||
$output .= str_replace(array('<?php', '?>'), '', \File::get($helper));
|
$output .= str_replace(array('<?php', '?>'), '', \File::get($helper));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user