Fix styleci issues

pull/1263/head
Aaron Sherber 2024-03-09 16:55:44 -05:00
parent 8abf6ae9cb
commit fd7d9f4715
No known key found for this signature in database
GPG Key ID: AEB76A0BD39D7B28
1 changed files with 3 additions and 2 deletions

View File

@ -144,7 +144,7 @@ class Controller
} }
$this->_setCacheHeaders(); $this->_setCacheHeaders();
// output JSON or HTML // output JSON or HTML
if ($this->_request->isJsonApiCall()) { if ($this->_request->isJsonApiCall()) {
header('Content-type: ' . Request::MIME_JSON); header('Content-type: ' . Request::MIME_JSON);
@ -179,9 +179,10 @@ class Controller
setcookie('lang', $lang, 0, '', '', true); setcookie('lang', $lang, 0, '', '', true);
} }
} }
/** /**
* Turn off browser caching * Turn off browser caching
* *
* @access private * @access private
*/ */
private function _setCacheHeaders() private function _setCacheHeaders()