X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fresponse%2Fimage%2Fclass_ImageResponse.php;fp=inc%2Fclasses%2Fmain%2Fresponse%2Fimage%2Fclass_ImageResponse.php;h=0a6170e4a645dbac46f35b35d779d417a752871e;hp=41314b95a4b072a30222c121379bbf0bdaa3e261;hb=f5cf5211620c1813c76d8231819b63a585fb2689;hpb=6afa552b9bdcb28975cb1b28a247347284995424 diff --git a/inc/classes/main/response/image/class_ImageResponse.php b/inc/classes/main/response/image/class_ImageResponse.php index 41314b95..0a6170e4 100644 --- a/inc/classes/main/response/image/class_ImageResponse.php +++ b/inc/classes/main/response/image/class_ImageResponse.php @@ -90,7 +90,7 @@ class ImageResponse extends BaseResponse implements Responseable { * @todo If the return statement is removed and setcookie() commented out, * @todo this will send only one cookie out, the first one. */ - public function addCookie ($cookieName, $cookieValue, $encrypted = false, $expires = NULL) { + public function addCookie ($cookieName, $cookieValue, $encrypted = FALSE, $expires = NULL) { // Are headers already sent? if (headers_sent()) { // Throw an exception here @@ -98,7 +98,7 @@ class ImageResponse extends BaseResponse implements Responseable { } // END - if // Shall we encrypt the cookie? - if ($encrypted === true) { + if ($encrypted === TRUE) { // Unsupported at the moment $this->partialStub('Encryption is unsupported at the moment.'); } // END - if @@ -183,7 +183,7 @@ class ImageResponse extends BaseResponse implements Responseable { * already sent with an exception * @return void */ - public function flushBuffer ($force = false) { + public function flushBuffer ($force = FALSE) { // Finish the image $this->getImageInstance()->finishImage();