Releases: barryvdh/laravel-ide-helper
Releases · barryvdh/laravel-ide-helper
v2.6.0: Add support for invokable classes as macro function (#765)
Macros can be used with invokable classes, like so. ``` <?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Response; class ResponseMacroServiceProvider extends ServiceProvider { public function boot() { Response::macro('foo', new Foo()); } } class Foo { public function __invoke() { return 'foobar'; } } ``` When running `ide-helper:generate` the following fatal error was thrown. ``` Symfony\Component\Debug\Exception\FatalThrowableError : ReflectionFunction::__construct() expects parameter 1 to be string, object given``` This commit fixes this error.
v2.5.3
v2.5.2: Merge pull request #707 from crhg/fix_getAliases
Fix alias class existence determination #698
v2.5.1
Support Laravel 5.7
v2.5.0 Update composer.json
v2.4.3: Merge pull request #624 from iPaat/Fix/623
Fixes a bug where a missing DocBlock caused errors
Support L5.6
v2.4.2 Allow L5.6
v2.4.1: Fix for Laravel 5.5 (#540)
Command fire method is now handle
Laravel 5.5 support, new metadata format
v2.4.0 added L55-support (#525)
Add back Eloquent methods
v2.3.2 Add Eloquent methods back