Passed
Pull Request — master (#128)
by Alex
03:50
created
src/POData/OperationContext/ServiceHost.php 1 patch
Spacing   +3 added lines, -3 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
     }
@@ -556,7 +556,7 @@  discard block
 block discarded – undo
556 556
     public function setResponseStatusCode($value)
557 557
     {
558 558
         if (!is_numeric($value)) {
559
-            $msg = 'Invalid, non-numeric, status code: '.$value;
559
+            $msg = 'Invalid, non-numeric, status code: ' . $value;
560 560
             throw ODataException::createInternalServerError($msg);
561 561
         }
562 562
         $floor = floor($value/100);
Please login to merge, or discard this patch.
UriProcessor/QueryProcessor/SkipTokenParser/InternalSkipTokenInfo.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,9 +68,9 @@
 block discarded – undo
68 68
      * @param ResourceType        &$resourceType            Reference to the resource type pointed to by the request uri
69 69
      */
70 70
     public function __construct(
71
-        InternalOrderByInfo &$internalOrderByInfo,
71
+        InternalOrderByInfo & $internalOrderByInfo,
72 72
         $orderByValuesInSkipToken,
73
-        ResourceType &$resourceType
73
+        ResourceType & $resourceType
74 74
     ) {
75 75
         $this->internalOrderByInfo = $internalOrderByInfo;
76 76
         $this->orderByValuesInSkipToken = $orderByValuesInSkipToken;
Please login to merge, or discard this patch.