@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | ); |
224 | 224 | } |
225 | 225 | |
226 | - $builtServiceUri = $requestUriScheme .'://' . $this->getAbsoluteRequestUri()->getHost(); |
|
226 | + $builtServiceUri = $requestUriScheme . '://' . $this->getAbsoluteRequestUri()->getHost(); |
|
227 | 227 | |
228 | 228 | if (($requestUriScheme == 'http' && $requestUriPort != '80') || |
229 | 229 | ($requestUriScheme == 'https' && $requestUriPort != '443') |
@@ -426,7 +426,7 @@ discard block |
||
426 | 426 | */ |
427 | 427 | public function getRequestAccept() |
428 | 428 | { |
429 | - $result= $this->getOperationContext()->incomingRequest() |
|
429 | + $result = $this->getOperationContext()->incomingRequest() |
|
430 | 430 | ->getRequestHeader(ODataConstants::HTTPREQUEST_HEADER_ACCEPT); |
431 | 431 | assert(null == $result || is_string($result)); |
432 | 432 | return $result; |
@@ -528,7 +528,7 @@ discard block |
||
528 | 528 | $this->getOperationContext()->outgoingResponse()->setContentLength($value); |
529 | 529 | } else { |
530 | 530 | throw ODataException::notAcceptableError( |
531 | - 'ContentLength: '.$value.' is invalid' |
|
531 | + 'ContentLength: ' . $value . ' is invalid' |
|
532 | 532 | ); |
533 | 533 | } |
534 | 534 | } |
@@ -573,7 +573,7 @@ discard block |
||
573 | 573 | public function setResponseStatusCode($value) |
574 | 574 | { |
575 | 575 | if (!is_numeric($value)) { |
576 | - $msg = 'Invalid, non-numeric, status code: '.$value; |
|
576 | + $msg = 'Invalid, non-numeric, status code: ' . $value; |
|
577 | 577 | throw ODataException::createInternalServerError($msg); |
578 | 578 | } |
579 | 579 | $floor = floor($value/100); |