Laravel-Aspect icon indicating copy to clipboard operation
Laravel-Aspect copied to clipboard

No default values for config variables fail the installation process

Open adibnaya opened this issue 5 years ago • 0 comments

When using cached config you don't have the config values required by the package Then after you require the package the dump-autoload fail with: Argument 1 passed to Ytake\LaravelAspect\AnnotationConfiguration::__construct() must be of the type array, null given, called in... image

You need to add default values or to write in documentation to run php artisan config:clear before requiring the package

adibnaya avatar May 31 '20 10:05 adibnaya