doctum icon indicating copy to clipboard operation
doctum copied to clipboard

API documentation displays generics incorrectly

Open shaedrich opened this issue 1 year ago • 1 comments

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)

shaedrich avatar Jan 31 '24 11:01 shaedrich