Completed
Pull Request — master (#63)
by Christopher
13:45 queued 04:13
created
src/POData/OperationContext/SimpleRequestAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public function getRawUrl()
22 22
     {
23
-        return $_SERVER['REQUEST_SCHEME'].'://'.$_SERVER['HTTP_HOST'].'/'.$_SERVER['REQUEST_URI'];
23
+        return $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . '/' . $_SERVER['REQUEST_URI'];
24 24
     }
25 25
 
26 26
     /**
Please login to merge, or discard this patch.
src/POData/OperationContext/Web/IncomingRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
                 $this->_rawUrl = ODataConstants::HTTPREQUEST_PROTOCOL_HTTPS;
132 132
             }
133 133
 
134
-            $this->_rawUrl .= '://'.$_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)];
134
+            $this->_rawUrl .= '://' . $_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)];
135 135
             $this->_rawUrl .= utf8_decode(urldecode($_SERVER[ODataConstants::HTTPREQUEST_URI]));
136 136
         }
137 137
 
Please login to merge, or discard this patch.
src/POData/HttpProcessUtility.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function getMimeType()
60 60
     {
61
-        return $this->_type.'/'.$this->_subType;
61
+        return $this->_type . '/' . $this->_subType;
62 62
     }
63 63
 
64 64
     /**
@@ -707,7 +707,7 @@  discard block
 block discarded – undo
707 707
             case 'ACCEPT_LANGUAGE':
708 708
             case 'DATASERVICEVERSION':
709 709
             case 'MAXDATASERVICEVERSION':
710
-                return 'HTTP_'.$name;
710
+                return 'HTTP_' . $name;
711 711
         }
712 712
 
713 713
         return $name;
Please login to merge, or discard this patch.