@@ -194,7 +194,7 @@ discard block |
||
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 |
||
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 | } |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | |
124 | 124 | public function __get($name) |
125 | 125 | { |
126 | - $name = 'get'.Str::studly($name); |
|
126 | + $name = 'get' . Str::studly($name); |
|
127 | 127 | |
128 | 128 | if (method_exists($this, $name)) { |
129 | 129 | return $this->$name(); |
@@ -401,7 +401,7 @@ discard block |
||
401 | 401 | $segment->setResult($entityInstance); |
402 | 402 | } else { |
403 | 403 | $skip = (null == $this->getRequest()) ? 0 : $this->getRequest()->getSkipCount(); |
404 | - $skip = (null == $skip) ? 0 :$skip; |
|
404 | + $skip = (null == $skip) ? 0 : $skip; |
|
405 | 405 | $queryResult = $this->getProviders()->getResourceSet( |
406 | 406 | $this->getRequest()->queryType, |
407 | 407 | $segment->getTargetResourceSetWrapper(), |
@@ -762,7 +762,7 @@ discard block |
||
762 | 762 | * @throws InvalidOperationException If this function invoked with non-navigation |
763 | 763 | * property instance |
764 | 764 | */ |
765 | - private function _pushSegmentForNavigationProperty(ResourceProperty &$resourceProperty) |
|
765 | + private function _pushSegmentForNavigationProperty(ResourceProperty & $resourceProperty) |
|
766 | 766 | { |
767 | 767 | if ($resourceProperty->getTypeKind() == ResourceTypeKind::ENTITY) { |
768 | 768 | $this->assert( |
@@ -858,7 +858,7 @@ discard block |
||
858 | 858 | * |
859 | 859 | * @return bool true if the segment was push, false otherwise |
860 | 860 | */ |
861 | - private function _pushSegment($segmentName, ResourceSetWrapper &$resourceSetWrapper) |
|
861 | + private function _pushSegment($segmentName, ResourceSetWrapper & $resourceSetWrapper) |
|
862 | 862 | { |
863 | 863 | $this->getStack()->pushSegment($segmentName, $resourceSetWrapper); |
864 | 864 | } |
@@ -50,7 +50,7 @@ |
||
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()) { |