beyondcode/laravel-er-diagram-generator

getAllModelsFromEachDirectory() must be of the type array

r0jx0 opened this issue · 2 comments

r0jx0 commented

Following the steps here (https://github.com/beyondcode/laravel-er-diagram-generator) I get the following error. I use php 7.3.6 and Laravel 6.1.0. Thank you!

Error

Same, either #65 or you need to publish the configuration and change where its looking for the models. For me I think the correct config is

    'directories' => [
        base_path('app/Models'),
    ],

I am using Laravel 6, so I am waiting for #65 to be resolved then trying from there.