Some cleanups, more usage of ObjectFactory:
[core.git] / inc / classes / main / response / image / class_ImageResponse.php
index 8e018d7ceb623d2024dc04baf9dbcbcc55d4d93b..b1f08a25029925f376fb63e4b0404f3e4862379a 100644 (file)
@@ -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