]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/response/class_BaseResponse.php
Continued:
[core.git] / framework / main / classes / response / class_BaseResponse.php
index 3cc1807d66dffa8d9ff2ec8a38f3077de936b923..7d22336533c98703f625cb9ad8fedb55ed9bb30d 100644 (file)
@@ -41,12 +41,12 @@ abstract class BaseResponse extends BaseFrameworkSystem {
        /**
         * Array with all headers
         */
-       private $responseHeaders = array();
+       private $responseHeaders = [];
 
        /**
         * Cookies we shall sent out
         */
-       private $cookies = array();
+       private $cookies = [];
 
        /**
         * Body of the response
@@ -96,7 +96,7 @@ abstract class BaseResponse extends BaseFrameworkSystem {
         * @return      void
         */
        public final function resetResponseHeaders () {
-               $this->responseHeaders = array();
+               $this->responseHeaders = [];
        }
 
        /**
@@ -208,7 +208,7 @@ abstract class BaseResponse extends BaseFrameworkSystem {
                                header('Set-Cookie: ' . $cookieString);
 
                                // Remove them all
-                               $this->cookies = array();
+                               $this->cookies = [];
                        } // END - if
                }