Tags: shopapps/laravel-ide-helper
Tags
Make autoload exception more specific (barryvdh#777) This is a nice-to-have ([as I'm currently overriding it](psalm/psalm-plugin-laravel@a700c89)), but might help other packages.
Add support for invokable classes as macro function (barryvdh#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.
prevent loading views if `view` class not in container (barryvdh#691)
Merge pull request barryvdh#707 from crhg/fix_getAliases Fix alias class existence determination barryvdh#698
PreviousNext