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

API documentation displays generics incorrectly #49907

Closed
shaedrich opened this issue Jan 30, 2024 · 1 comment
Closed

API documentation displays generics incorrectly #49907

shaedrich opened this issue Jan 30, 2024 · 1 comment

Comments

@shaedrich
Copy link

shaedrich commented Jan 30, 2024

Laravel Version

latest

PHP Version

n/a

Database Driver & Version

No response

Description

While in the API documentation, it only says Model> in the exception section of the Builder::sole() method, its source code shows, it actually has a generic: \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model>

https://github.com/laravel/framework/blob/10.x/src/Illuminate/Database/Eloquent/Builder.php#L645-L661

grafik
grafik

Or should this be reported to code-lts/doctum?

Steps To Reproduce

see description

@driesvints
Copy link
Member

Best to report this to doctum yes. Thanks

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