doctum
doctum copied to clipboard
API documentation displays generics incorrectly
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
(Originally reported as https://github.com/laravel/framework/issues/49907)