Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Commit cf19dba

Browse files
author
Andrey Helldar
committed
Updated upgrade guide
1 parent e1e3d5a commit cf19dba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.upgrading/5.x_6.x.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Changed the order of `api_response` function attributes from:
1818
function api_response(
1919
$data = null,
2020
int $status_code = 200,
21-
array $headers = [],
22-
array $with = [],
21+
array $headers = [], // here
22+
array $with = [], // here
2323
bool $use_data = true
2424
)
2525
```
@@ -29,8 +29,8 @@ to:
2929
function api_response(
3030
$data = null,
3131
int $status_code = 200,
32-
array $with = [],
33-
array $headers = [],
32+
array $with = [], // here
33+
array $headers = [], // here
3434
bool $use_data = true
3535
)
3636
```

0 commit comments

Comments
 (0)