Skip to content

Commit 9da5cbb

Browse files
authored
Remove @throws phpDocs in the TransformToResource trait
1 parent 1d01a5a commit 9da5cbb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Illuminate/Database/Eloquent/Concerns/TransformsToResource.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ trait TransformsToResource
1313
*
1414
* @param class-string<\Illuminate\Http\Resources\Json\JsonResource>|null $resourceClass
1515
* @return \Illuminate\Http\Resources\Json\JsonResource
16-
*
17-
* @throws \Throwable
1816
*/
1917
public function toResource(?string $resourceClass = null): JsonResource
2018
{
@@ -29,8 +27,6 @@ public function toResource(?string $resourceClass = null): JsonResource
2927
* Guess the resource class for the model.
3028
*
3129
* @return \Illuminate\Http\Resources\Json\JsonResource
32-
*
33-
* @throws \Throwable
3430
*/
3531
protected function guessResource(): JsonResource
3632
{

0 commit comments

Comments
 (0)