Skip to content

Commit b509e63

Browse files
authored
Update README.md
1 parent e89ef26 commit b509e63

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ return a response quickly and directly as shown in the Quick Start. When using
5050
the facade the arguments to the `response()` method are:
5151

5252
```php
53-
response(string|Throwable $detail, int|string $status, ?string $type = null, ?string $title = null, array $additional = [])
53+
response(
54+
string|Throwable $detail,
55+
int|string $status,
56+
?string $type = null,
57+
?string $title = null,
58+
array $additional = []
59+
)
5460
```
5561

5662
### Creating an object
@@ -62,7 +68,13 @@ and the `response()` function is modified to match the standard
6268
format.
6369

6470
```php
65-
__construct(int|string $status, string|Throwable $detail, ?string $type = null, ?string $title = null, array $additional = [])
71+
__construct(
72+
int|string $status,
73+
string|Throwable $detail,
74+
?string $type = null,
75+
?string $title = null,
76+
array $additional = []
77+
)
6678
```
6779

6880
An example of creating an object directly:

0 commit comments

Comments
 (0)