@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | public static function commonNotValidPrimitiveEDMType($argumentName, $functionName) |
47 | 47 | { |
48 | 48 | return 'The argument \'' . $argumentName . '\' to ' . $functionName . ' is not a valid ' . |
49 | - 'EdmPrimitiveType Enum value.'; |
|
49 | + 'EdmPrimitiveType Enum value.'; |
|
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | public static function failedToAccessProperty($propertyName, $parentObjectName) |
73 | 73 | { |
74 | 74 | return 'Data Service failed to access or initialize the property ' . $propertyName . |
75 | - ' of ' . $parentObjectName . '.'; |
|
75 | + ' of ' . $parentObjectName . '.'; |
|
76 | 76 | } |
77 | 77 | |
78 | 78 | /** |
@@ -33,7 +33,7 @@ |
||
33 | 33 | $clause = $isSelect ? 'select' : 'expand'; |
34 | 34 | |
35 | 35 | return 'Error in the ' . $clause . ' clause. Type \'' . $resourceTypeName . '\' does not have ' . |
36 | - 'a property named \'' . $propertyName . '\'.'; |
|
36 | + 'a property named \'' . $propertyName . '\'.'; |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -25,7 +25,7 @@ |
||
25 | 25 | public static function queryProviderResultCountMissing($methodName, QueryType $queryType) |
26 | 26 | { |
27 | 27 | return 'The implementation of the method ' . $methodName . ' must return a QueryResult instance with ' . |
28 | - 'a count for queries of type ' . $queryType . '.'; |
|
28 | + 'a count for queries of type ' . $queryType . '.'; |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
@@ -132,6 +132,6 @@ |
||
132 | 132 | public static function expressionParserEntityCollectionNotAllowedInFilter($property, $parentProperty, $pos) |
133 | 133 | { |
134 | 134 | return 'The \'' . $property . '\' is an entity collection property of \'' . $parentProperty . |
135 | - '\' (position: ' . $pos . '), which cannot be used in $filter query option'; |
|
135 | + '\' (position: ' . $pos . '), which cannot be used in $filter query option'; |
|
136 | 136 | } |
137 | 137 | } |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | public static function keyDescriptorKeyCountNotMatching($segment, $expectedCount, $actualCount) |
18 | 18 | { |
19 | 19 | return 'The predicate in the segment \'' . $segment . '\' expect ' . $expectedCount . |
20 | - ' keys but ' . $actualCount . ' provided'; |
|
20 | + ' keys but ' . $actualCount . ' provided'; |
|
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | public static function keyDescriptorMissingKeys($segment, $expectedKeys) |
33 | 33 | { |
34 | 34 | return 'Missing keys in key predicate for the segment \'' . $segment . '\'. The key predicate ' . |
35 | - 'expects the keys \'' . $expectedKeys . '\''; |
|
35 | + 'expects the keys \'' . $expectedKeys . '\''; |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
@@ -93,7 +93,7 @@ |
||
93 | 93 | public static function httpProcessUtilityClosingQuoteNotFound($parameterName) |
94 | 94 | { |
95 | 95 | return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because the closing quote '. |
96 | - 'character could not be found while the parameter value started with a quote character.'; |
|
96 | + 'character could not be found while the parameter value started with a quote character.'; |
|
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
@@ -92,7 +92,7 @@ |
||
92 | 92 | */ |
93 | 93 | public static function httpProcessUtilityClosingQuoteNotFound($parameterName) |
94 | 94 | { |
95 | - return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because the closing quote '. |
|
95 | + return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because the closing quote ' . |
|
96 | 96 | 'character could not be found while the parameter value started with a quote character.'; |
97 | 97 | } |
98 | 98 |
@@ -131,7 +131,7 @@ |
||
131 | 131 | } |
132 | 132 | |
133 | 133 | $this->rawUrl .= '://' . |
134 | - $_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)]; |
|
134 | + $_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)]; |
|
135 | 135 | $this->rawUrl .= utf8_decode(urldecode($_SERVER[ODataConstants::HTTPREQUEST_URI])); |
136 | 136 | } |
137 | 137 |
@@ -41,7 +41,7 @@ |
||
41 | 41 | public static function skipTokenParserSkipTokenNotMatchingOrdering($skipTokenValuesCount, $skipToken, $expectedCount) |
42 | 42 | { |
43 | 43 | return 'The number of keys \'' . $skipTokenValuesCount . '\' in skip token with value \'' . $skipToken . |
44 | - '\' did not match the number of ordering constraints \'' . $expectedCount . '\' for the resource type.'; |
|
44 | + '\' did not match the number of ordering constraints \'' . $expectedCount . '\' for the resource type.'; |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
@@ -294,7 +294,7 @@ discard block |
||
294 | 294 | * |
295 | 295 | * @return bool true if a segment was pushed, false otherwise |
296 | 296 | */ |
297 | - protected function pushSegmentForNavigationProperty(ResourceProperty &$resourceProperty) |
|
297 | + protected function pushSegmentForNavigationProperty(ResourceProperty & $resourceProperty) |
|
298 | 298 | { |
299 | 299 | if (ResourceTypeKind::ENTITY == $resourceProperty->getTypeKind()) { |
300 | 300 | assert(!empty($this->getStack()->getSegmentNames()), 'Segment names should not be empty'); |
@@ -405,7 +405,7 @@ discard block |
||
405 | 405 | * |
406 | 406 | * @return bool true if the segment was push, false otherwise |
407 | 407 | */ |
408 | - private function pushSegment($segmentName, ResourceSetWrapper &$resourceSetWrapper) |
|
408 | + private function pushSegment($segmentName, ResourceSetWrapper & $resourceSetWrapper) |
|
409 | 409 | { |
410 | 410 | // Even though there is no expand in the request URI, still we need to push |
411 | 411 | // the segment information if we need to count |
@@ -640,7 +640,7 @@ discard block |
||
640 | 640 | &$parentPathSegments, |
641 | 641 | &$selectionPaths, |
642 | 642 | &$expansionPaths, |
643 | - ExpandedProjectionNode &$expandedProjectionNode, |
|
643 | + ExpandedProjectionNode & $expandedProjectionNode, |
|
644 | 644 | &$foundSelections, |
645 | 645 | &$foundExpansions |
646 | 646 | ) { |