]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/request/web/class_HttpRequest.php
Copyright year updated, converted double->single quotes
[core.git] / inc / classes / main / request / web / class_HttpRequest.php
index 1ba80d75b07a6f0ad1e72652cb92e1332b3c36a8..5e5a511d3d5f44c8ff2d81076ee2230354000902 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A concrete and secured HTTP request class to make HTTP requests more abstract
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  * @todo               Move out the cookie part to a seperate class, e.g. Cookie
  *
  * This program is free software: you can redistribute it and/or modify
@@ -38,7 +38,7 @@ class HttpRequest extends BaseRequest implements Requestable {
         *
         * @return      $httpInstance   An instance of this class
         */
-       public final static function createHttpRequest () {
+       public static final function createHttpRequest () {
                // Create an instance
                $httpInstance = new HttpRequest();
 
@@ -69,7 +69,7 @@ class HttpRequest extends BaseRequest implements Requestable {
         */
        public function getHeader ($headerName) {
                // Default return value on error
-               $headerValue = null;
+               $headerValue = NULL;
 
                // Construct the name
                $name = 'HTTP_' . strtolower($this->convertDashesToUnderscores($headerName));
@@ -100,7 +100,7 @@ class HttpRequest extends BaseRequest implements Requestable {
         */
        public final function readCookie ($cookieName) {
                // Default is no cookie with that name found
-               $cookieValue = null;
+               $cookieValue = NULL;
 
                // Is the cookie set?
                if (isset($_COOKIE[$cookieName])) {