@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | if (strtolower($tagNamespace) === strtolower(ODataConstants::ODATA_METADATA_NAMESPACE) && |
46 | 46 | strtolower($tagName) === strtolower((ODataConstants::ATOM_PROPERTIES_ELEMENT_NAME)) |
47 | 47 | ) { |
48 | - return ; |
|
48 | + return; |
|
49 | 49 | } |
50 | 50 | //TODO: this will need to be expanded with opengis namespaces as well when supported |
51 | 51 | assert($tagNamespace === ODataConstants::ODATA_NAMESPACE || |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | if (strtolower($tagNamespace) === strtolower(ODataConstants::ODATA_METADATA_NAMESPACE) && |
72 | 72 | strtolower($tagName) === strtolower((ODataConstants::ATOM_PROPERTIES_ELEMENT_NAME)) |
73 | 73 | ) { |
74 | - return ; |
|
74 | + return; |
|
75 | 75 | } |
76 | 76 | // Pops a complex object off the stack |
77 | 77 | $prop = $this->properties->pop(); |
@@ -561,8 +561,7 @@ |
||
561 | 561 | private function executeGetResourceRelated(SegmentDescriptor $segment, $eagerList) |
562 | 562 | { |
563 | 563 | $projectedProperty = $segment->getProjectedProperty(); |
564 | - $projectedPropertyKind = null !== $projectedProperty ? $projectedProperty->getKind() : |
|
565 | - new ResourcePropertyKind(0); |
|
564 | + $projectedPropertyKind = null !== $projectedProperty ? $projectedProperty->getKind() : new ResourcePropertyKind(0); |
|
566 | 565 | $queryResult = null; |
567 | 566 | switch ($projectedPropertyKind) { |
568 | 567 | case ResourcePropertyKind::RESOURCE_REFERENCE(): |
@@ -1114,6 +1114,6 @@ |
||
1114 | 1114 | return false; |
1115 | 1115 | } |
1116 | 1116 | |
1117 | - return 0 == ($value % 4); |
|
1117 | + return 0 == ($value%4); |
|
1118 | 1118 | } |
1119 | 1119 | } |