Passed
Pull Request — master (#128)
by Alex
03:43
created
src/POData/OperationContext/ServiceHost.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
                     );
224 224
                 }
225 225
 
226
-                $serviceUri = $requestUriScheme .'://' . $this->getAbsoluteRequestUri()->getHost();
226
+                $serviceUri = $requestUriScheme . '://' . $this->getAbsoluteRequestUri()->getHost();
227 227
 
228 228
                 if (($requestUriScheme == 'http' && $requestUriPort != '80') ||
229 229
                     ($requestUriScheme == 'https' && $requestUriPort != '443')
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
             $this->getOperationContext()->outgoingResponse()->setContentLength($value);
514 514
         } else {
515 515
             throw ODataException::notAcceptableError(
516
-                'ContentLength: '.$value.' is invalid'
516
+                'ContentLength: ' . $value . ' is invalid'
517 517
             );
518 518
         }
519 519
     }
Please login to merge, or discard this patch.