Skip to content

Commit a55c27c

Browse files
committed
Merge branch 'master' into 1.0
2 parents b96301c + 1b26383 commit a55c27c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ApiController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ApiController extends Controller
2020

2121
/**
2222
* ApiController constructor.
23-
* Automatically saves the requests body and header
23+
* Automatically saves the requests body and header.
2424
*
2525
* @param Request $request
2626
*/
@@ -59,7 +59,7 @@ protected function setResponseStatusCode($statusCode)
5959
return $this;
6060
}
6161

62-
protected function setResponseHttpHeader(Array $header)
62+
protected function setResponseHttpHeader(array $header)
6363
{
6464
foreach ($header as $key => $value) {
6565
$this->responseHttpHeader[$key] = $value;
@@ -176,7 +176,7 @@ private function prepareRespondData()
176176
'type' => $this->responseType,
177177
'message' => $this->responseMessage,
178178
'code' => $this->responseStatusCode
179-
]
179+
],
180180
];
181181

182182
if ($this->responseHeader) {

0 commit comments

Comments
 (0)