code-lts / doctum

A php API documentation generator, fork of Sami
https://doctum.long-term.support/
MIT License
300 stars 32 forks source link

API documentation displays generics incorrectly #65

Open shaedrich opened 9 months ago

shaedrich commented 9 months ago

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/d65ea42dbec9137b94c2793b5fe06e75e8998764/src/Illuminate/Database/Eloquent/Builder.php#L645-L661

grafik grafik

(Originally reported as https://github.com/laravel/framework/issues/49907)

williamdes commented 9 months ago

Hi @shaedrich Thank you for taking the time to report this issue, I will keep it in mind and will try to fix it. Contributions are very welcome !