@@ -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 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * @param bool $expanded Whether the navigation is expanded |
22 | 22 | * or not |
23 | 23 | */ |
24 | - public function __construct(ResourceProperty &$resourceProperty, $expanded) |
|
24 | + public function __construct(ResourceProperty & $resourceProperty, $expanded) |
|
25 | 25 | { |
26 | 26 | $this->resourceProperty = $resourceProperty; |
27 | 27 | $this->expanded = $expanded; |
@@ -36,7 +36,7 @@ |
||
36 | 36 | * @param array<array<IType>> $orderByValuesInSkipToken Collection of values in the skiptoken corresponds |
37 | 37 | * to the orderby path segments |
38 | 38 | */ |
39 | - public function __construct(OrderByInfo &$orderByInfo, $orderByValuesInSkipToken) |
|
39 | + public function __construct(OrderByInfo & $orderByInfo, $orderByValuesInSkipToken) |
|
40 | 40 | { |
41 | 41 | $this->orderByInfo = $orderByInfo; |
42 | 42 | $this->orderByValuesInSkipToken = $orderByValuesInSkipToken; |
@@ -666,7 +666,7 @@ discard block |
||
666 | 666 | * |
667 | 667 | * @param InternalOrderByInfo &$internalOrderByInfo The sorting information |
668 | 668 | */ |
669 | - public function setInternalOrderByInfo(InternalOrderByInfo &$internalOrderByInfo) |
|
669 | + public function setInternalOrderByInfo(InternalOrderByInfo & $internalOrderByInfo) |
|
670 | 670 | { |
671 | 671 | $this->internalOrderByInfo = $internalOrderByInfo; |
672 | 672 | } |
@@ -687,7 +687,7 @@ discard block |
||
687 | 687 | * @param InternalSkipTokenInfo &$internalSkipTokenInfo The paging information |
688 | 688 | */ |
689 | 689 | public function setInternalSkipTokenInfo( |
690 | - InternalSkipTokenInfo &$internalSkipTokenInfo |
|
690 | + InternalSkipTokenInfo & $internalSkipTokenInfo |
|
691 | 691 | ) { |
692 | 692 | $this->internalSkipTokenInfo = $internalSkipTokenInfo; |
693 | 693 | } |
@@ -713,7 +713,7 @@ discard block |
||
713 | 713 | * |
714 | 714 | * @param RootProjectionNode &$rootProjectionNode Root of the projection tree |
715 | 715 | */ |
716 | - public function setRootProjectionNode(RootProjectionNode &$rootProjectionNode) |
|
716 | + public function setRootProjectionNode(RootProjectionNode & $rootProjectionNode) |
|
717 | 717 | { |
718 | 718 | $this->rootProjectionNode = $rootProjectionNode; |
719 | 719 | } |
@@ -68,9 +68,9 @@ |
||
68 | 68 | * @param ResourceType &$resourceType Reference to the resource type pointed to by the request uri |
69 | 69 | */ |
70 | 70 | public function __construct( |
71 | - InternalOrderByInfo &$internalOrderByInfo, |
|
71 | + InternalOrderByInfo & $internalOrderByInfo, |
|
72 | 72 | $orderByValuesInSkipToken, |
73 | - ResourceType &$resourceType |
|
73 | + ResourceType & $resourceType |
|
74 | 74 | ) { |
75 | 75 | $this->internalOrderByInfo = $internalOrderByInfo; |
76 | 76 | $this->orderByValuesInSkipToken = $orderByValuesInSkipToken; |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | public static function resourcePropertyInvalidKindParameter($argumentName) |
15 | 15 | { |
16 | 16 | return 'The argument \''.$argumentName.'\' is not a valid ResourcePropertyKind enum value or' |
17 | - .' valid combination of ResourcePropertyKind enum values'; |
|
17 | + .' valid combination of ResourcePropertyKind enum values'; |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
@@ -30,6 +30,6 @@ discard block |
||
30 | 30 | $resourceTypeArgName |
31 | 31 | ) { |
32 | 32 | return 'The \''.$resourcePropertyKindArgName.'\' parameter does not match with the type of the resource' |
33 | - .' type in parameter \''.$resourceTypeArgName.'\''; |
|
33 | + .' type in parameter \''.$resourceTypeArgName.'\''; |
|
34 | 34 | } |
35 | 35 | } |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | */ |
14 | 14 | public static function resourcePropertyInvalidKindParameter($argumentName) |
15 | 15 | { |
16 | - return 'The argument \''.$argumentName.'\' is not a valid ResourcePropertyKind enum value or' |
|
16 | + return 'The argument \'' . $argumentName . '\' is not a valid ResourcePropertyKind enum value or' |
|
17 | 17 | .' valid combination of ResourcePropertyKind enum values'; |
18 | 18 | } |
19 | 19 | |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | $resourcePropertyKindArgName, |
30 | 30 | $resourceTypeArgName |
31 | 31 | ) { |
32 | - return 'The \''.$resourcePropertyKindArgName.'\' parameter does not match with the type of the resource' |
|
33 | - .' type in parameter \''.$resourceTypeArgName.'\''; |
|
32 | + return 'The \'' . $resourcePropertyKindArgName . '\' parameter does not match with the type of the resource' |
|
33 | + .' type in parameter \'' . $resourceTypeArgName . '\''; |
|
34 | 34 | } |
35 | 35 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | $expectedCount |
45 | 45 | ) { |
46 | 46 | return 'The number of keys \'' . $skipTokenValuesCount . '\' in skip token with value \'' . $skipToken . |
47 | - '\' did not match the number of ordering constraints \'' . $expectedCount . '\' for the resource type.'; |
|
47 | + '\' did not match the number of ordering constraints \'' . $expectedCount . '\' for the resource type.'; |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |