Operating System and Version: Amazon Linux 2 (Lambda Function with bref php-81-fpm layer)
Browser type and version: Chrome 103.0.5060.134 64 bits
Reproduction Repository: Fresh Nova Installation
Description:
I'm extending the Laravel\Nova\Resource class, however when adding additional parameters in the constructor for the Laravel DI to include the classes, the following error is returned:
Too few arguments to function Laravel\Nova\Tools\ResourceManager::Laravel\Nova\Tools\{closure}(), 1 passed and exactly 2 expected
Detailed steps to reproduce the issue on a fresh Nova installation:
Create a new resource (like in this command: php artisan nova:resource Post)
Add constructor method with a class as required parameter
Access Laravel Nova in Browser and the error will be displayed
Description:
I'm extending the Laravel\Nova\Resource class, however when adding additional parameters in the constructor for the Laravel DI to include the classes, the following error is returned:
Too few arguments to function Laravel\Nova\Tools\ResourceManager::Laravel\Nova\Tools\{closure}(), 1 passed and exactly 2 expected
Detailed steps to reproduce the issue on a fresh Nova installation:
php artisan nova:resource Post
)