@@ -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 | |
@@ -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 | } |
@@ -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 | /** |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | public static function requestVersionTooLow($requestedVersion, $requiredVersion) |
| 18 | 18 | { |
| 19 | 19 | return 'Request version \''.$requestedVersion.'\' is not supported for the request payload. The only' |
| 20 | - .' supported version is \''.$requiredVersion.'\'.'; |
|
| 20 | + .' supported version is \''.$requiredVersion.'\'.'; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | public static function requestVersionIsBiggerThanProtocolVersion($requiredVersion, $configuredVersion) |
| 33 | 33 | { |
| 34 | 34 | return 'The response requires that version '.$requiredVersion.' of the protocol be used, but the' |
| 35 | - .' MaxProtocolVersion of the data service is set to '.$configuredVersion.'.'; |
|
| 35 | + .' MaxProtocolVersion of the data service is set to '.$configuredVersion.'.'; |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
@@ -65,6 +65,6 @@ discard block |
||
| 65 | 65 | $availableVersions |
| 66 | 66 | ) { |
| 67 | 67 | return 'The version value '.$requestedVersion.' in the header '.$requestHeaderName.' is not' |
| 68 | - .' supported, available versions are '.$availableVersions; |
|
| 68 | + .' supported, available versions are '.$availableVersions; |
|
| 69 | 69 | } |
| 70 | 70 | } |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | public static function orderByParserPropertyNotFound($resourceTypeName, $propertyName) |
| 51 | 51 | { |
| 52 | 52 | return 'Error in the \'orderby\' clause. Type ' . $resourceTypeName |
| 53 | - . ' does not have a property named \'' . $propertyName . '\'.'; |
|
| 53 | + . ' does not have a property named \'' . $propertyName . '\'.'; |
|
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | /** |
@@ -179,6 +179,6 @@ discard block |
||
| 179 | 179 | public static function orderByParserFailedToAccessOrInitializeProperty($propertyName, $parentObjectName) |
| 180 | 180 | { |
| 181 | 181 | return 'OrderBy parser failed to access or initialize the property ' . $propertyName . |
| 182 | - ' of ' . $parentObjectName; |
|
| 182 | + ' of ' . $parentObjectName; |
|
| 183 | 183 | } |
| 184 | 184 | } |
@@ -565,10 +565,10 @@ |
||
| 565 | 565 | { |
| 566 | 566 | $queryParameterString = null; |
| 567 | 567 | foreach ([ODataConstants::HTTPQUERY_STRING_FILTER, |
| 568 | - ODataConstants::HTTPQUERY_STRING_EXPAND, |
|
| 569 | - ODataConstants::HTTPQUERY_STRING_ORDERBY, |
|
| 570 | - ODataConstants::HTTPQUERY_STRING_INLINECOUNT, |
|
| 571 | - ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) { |
|
| 568 | + ODataConstants::HTTPQUERY_STRING_EXPAND, |
|
| 569 | + ODataConstants::HTTPQUERY_STRING_ORDERBY, |
|
| 570 | + ODataConstants::HTTPQUERY_STRING_INLINECOUNT, |
|
| 571 | + ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) { |
|
| 572 | 572 | $value = $this->getService()->getHost()->getQueryStringItem($queryOption); |
| 573 | 573 | if (null !== $value) { |
| 574 | 574 | if (null !== $queryParameterString) { |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | if ('GET' != $workingObject->RequestVerb && !Str::contains($workingObject->RequestURL, '/$links/')) { |
| 52 | 52 | if (null === $workingObject->Response->getHeaders()['Location']) { |
| 53 | 53 | $msg = 'Location header not set in subrequest response for '. $workingObject->RequestVerb |
| 54 | - .' request url '.$workingObject->RequestURL; |
|
| 54 | + .' request url '.$workingObject->RequestURL; |
|
| 55 | 55 | throw new \Exception($msg); |
| 56 | 56 | } |
| 57 | 57 | $this->contentIDToLocationLookup[$contentID] = $workingObject->Response->getHeaders()['Location']; |