Skip to content

Commit 2c7d131

Browse files
committed
Fixed order of parameters for response
1 parent f2190df commit 2c7d131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ composer require api-skeletons/laravel-api-problem
2222
```php
2323
use ApiSkeletons\Laravel\ApiProblem\Facades\ApiProblem;
2424

25-
return ApiProblem::response(401, 'Detailed Unauthorized Message');
25+
return ApiProblem::response('Detailed Unauthorized Message', 401);
2626
```
2727

2828
## Attribution

0 commit comments

Comments
 (0)