Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lumen 7 Error when execute php artisan apidoc:generate #772

Open
vuldov opened this issue Jul 16, 2020 · 1 comment
Open

Lumen 7 Error when execute php artisan apidoc:generate #772

vuldov opened this issue Jul 16, 2020 · 1 comment

Comments

@vuldov
Copy link

vuldov commented Jul 16, 2020

When I want to generate the documentation for my Lumen project with the command :
php artisan apidoc:generate

I just have this error message :

In ManagesTransactions.php line 156:
                                                        
  Call to a member function beginTransaction() on null

My database is a mongodb and I use "jenssegers/mongodb" to manage it.
So, I cannot generate the documentation.

Thanks you !

@shalvah
Copy link
Contributor

shalvah commented Jul 17, 2020

Hi, I'm no longer on this project (and I don't think it's being maintained anymore), but if you're interested in switching to Scribe, we recently added a fix for this. knuckleswtf/scribe#48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants