Completed
Pull Request — master (#47)
by Christopher
05:49
created
src/POData/UriProcessor/RequestExpander.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      * @throws InvalidOperationException If this function invoked with non-navigation
195 195
      *                                   property instance
196 196
      */
197
-    private function pushSegmentForNavigationProperty(ResourceProperty &$resourceProperty)
197
+    private function pushSegmentForNavigationProperty(ResourceProperty & $resourceProperty)
198 198
     {
199 199
         if ($resourceProperty->getTypeKind() == ResourceTypeKind::ENTITY) {
200 200
             assert(!empty($this->getStack()->getSegmentNames()), '!is_empty($this->getStack()->getSegmentNames())');
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      *
280 280
      * @return bool true if the segment was push, false otherwise
281 281
      */
282
-    private function pushSegment($segmentName, ResourceSetWrapper &$resourceSetWrapper)
282
+    private function pushSegment($segmentName, ResourceSetWrapper & $resourceSetWrapper)
283 283
     {
284 284
         $this->getStack()->pushSegment($segmentName, $resourceSetWrapper);
285 285
     }
Please login to merge, or discard this patch.
src/POData/UriProcessor/SegmentStack.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      *
51 51
      * @return bool true if the segment was push, false otherwise
52 52
      */
53
-    public function pushSegment($segmentName, ResourceSetWrapper &$resourceSetWrapper)
53
+    public function pushSegment($segmentName, ResourceSetWrapper & $resourceSetWrapper)
54 54
     {
55 55
         $rootProjectionNode = $this->getRequest()->getRootProjectionNode();
56 56
         if (!is_null($rootProjectionNode) && $rootProjectionNode->isExpansionSpecified()) {
Please login to merge, or discard this patch.
src/POData/UriProcessor/UriProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -382,7 +382,7 @@
 block discarded – undo
382 382
             $segment->setResult($entityInstance);
383 383
         } else {
384 384
             $skip = (null == $this->getRequest()) ? 0 : $this->getRequest()->getSkipCount();
385
-            $skip = (null == $skip) ? 0 :$skip;
385
+            $skip = (null == $skip) ? 0 : $skip;
386 386
             $queryResult = $this->getProviders()->getResourceSet(
387 387
                 $this->getRequest()->queryType,
388 388
                 $segment->getTargetResourceSetWrapper(),
Please login to merge, or discard this patch.