File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments