8000 Minor fix in responses · brysem/laravel-json-api@93a55f0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 93a55f0

Browse files
committed
Minor fix in responses
1 parent aed5958 commit 93a55f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Responses/ResponsesHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function content($data, $statusCode = Response::HTTP_OK, $links = [], $me
101101
* @param array $headers
102102
* @return mixed
103103
*/
104-
public function created($resource, $links = [], $meta = null, $headers = [])
104+
public function created($resource, $links = [], $meta = null, array $headers = [])
105105
{
106106
$encoder = $this->getEncoder();
107107
$options = $encoder->getEncoderOptions();

0 commit comments

Comments
 (0)
0