Completed
Pull Request — master (#45)
by Alex
14:17
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/UriProcessor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
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.