@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public static function resourceAssociationTypeEndPropertyMustBeNullOrInstanceofResourceProperty($argumentName) |
16 | 16 | { |
17 | - return 'The argument \''.$argumentName.'\' must be either null or instance of \'ResourceProperty\'.'; |
|
17 | + return 'The argument \'' . $argumentName . '\' must be either null or instance of \'ResourceProperty\'.'; |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | public static function resourceTypeMissingKeyPropertiesForEntity($entityName) |
63 | 63 | { |
64 | 64 | return 'The entity type \''.$entityName.'\' does not have any key properties. Please make sure the key' |
65 | - .' properties are defined for this entity type'; |
|
65 | + .' properties are defined for this entity type'; |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | /** |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | public static function resourceTypeKeyPropertiesOnlyOnEntityTypes() |
86 | 86 | { |
87 | 87 | return 'Key properties can only be added to ResourceType instances with a ResourceTypeKind' |
88 | - .' equal to \'EntityType\''; |
|
88 | + .' equal to \'EntityType\''; |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | /** |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | public static function resourceTypeETagPropertiesOnlyOnEntityTypes() |
98 | 98 | { |
99 | 99 | return 'ETag properties can only be added to ResourceType instances with a ResourceTypeKind' |
100 | - .' equal to \'EntityType\''; |
|
100 | + .' equal to \'EntityType\''; |
|
101 | 101 | } |
102 | 102 | |
103 | 103 | /** |
@@ -112,8 +112,8 @@ discard block |
||
112 | 112 | public static function resourceTypePropertyWithSameNameAlreadyExists($propertyName, $resourceTypeName) |
113 | 113 | { |
114 | 114 | return 'Property with same name \''.$propertyName.'\' already exists in type \''.$resourceTypeName |
115 | - .'\'. Please make sure that there is no property with the same name defined in one of the' |
|
116 | - .' ancestor types'; |
|
115 | + .'\'. Please make sure that there is no property with the same name defined in one of the' |
|
116 | + .' ancestor types'; |
|
117 | 117 | } |
118 | 118 | |
119 | 119 | /** |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | public static function resourceTypeNamedStreamWithSameNameAlreadyExists($namedStreamName, $resourceTypeName) |
159 | 159 | { |
160 | 160 | return 'Named stream with the name \''.$namedStreamName.'\' already exists in type \''.$resourceTypeName |
161 | - .'\'. Please make sure that there is no named stream with the same name defined in one of the' |
|
162 | - .' ancestor types'; |
|
161 | + .'\'. Please make sure that there is no named stream with the same name defined in one of the' |
|
162 | + .' ancestor types'; |
|
163 | 163 | } |
164 | 164 | } |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | */ |
37 | 37 | public static function resourceTypeTypeShouldImplementIType($argument) |
38 | 38 | { |
39 | - return 'For primitive type the \''.$argument.'\' argument should be an \'IType\' instance'; |
|
39 | + return 'For primitive type the \'' . $argument . '\' argument should be an \'IType\' instance'; |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public static function resourceTypeTypeShouldReflectionClass($argument) |
51 | 51 | { |
52 | - return 'For entity type the \''.$argument.'\' argument should be a \'ReflectionClass\' instance'; |
|
52 | + return 'For entity type the \'' . $argument . '\' argument should be a \'ReflectionClass\' instance'; |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | */ |
62 | 62 | public static function resourceTypeMissingKeyPropertiesForEntity($entityName) |
63 | 63 | { |
64 | - return 'The entity type \''.$entityName.'\' does not have any key properties. Please make sure the key' |
|
64 | + return 'The entity type \'' . $entityName . '\' does not have any key properties. Please make sure the key' |
|
65 | 65 | .' properties are defined for this entity type'; |
66 | 66 | } |
67 | 67 | |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | */ |
112 | 112 | public static function resourceTypePropertyWithSameNameAlreadyExists($propertyName, $resourceTypeName) |
113 | 113 | { |
114 | - return 'Property with same name \''.$propertyName.'\' already exists in type \''.$resourceTypeName |
|
114 | + return 'Property with same name \'' . $propertyName . '\' already exists in type \'' . $resourceTypeName |
|
115 | 115 | .'\'. Please make sure that there is no property with the same name defined in one of the' |
116 | 116 | .' ancestor types'; |
117 | 117 | } |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | */ |
158 | 158 | public static function resourceTypeNamedStreamWithSameNameAlreadyExists($namedStreamName, $resourceTypeName) |
159 | 159 | { |
160 | - return 'Named stream with the name \''.$namedStreamName.'\' already exists in type \''.$resourceTypeName |
|
160 | + return 'Named stream with the name \'' . $namedStreamName . '\' already exists in type \'' . $resourceTypeName |
|
161 | 161 | .'\'. Please make sure that there is no named stream with the same name defined in one of the' |
162 | 162 | .' ancestor types'; |
163 | 163 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | public static function httpProcessUtilityEscapeCharWithoutQuotes($parameterName) |
66 | 66 | { |
67 | 67 | return 'Value for MIME type parameter \''.$parameterName.'\' is incorrect because it contained escape'. |
68 | - ' characters even though it was not quoted.'; |
|
68 | + ' characters even though it was not quoted.'; |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | public static function httpProcessUtilityEscapeCharAtEnd($parameterName) |
80 | 80 | { |
81 | 81 | return 'Value for MIME type parameter \''.$parameterName.'\' is incorrect because it terminated with escape' |
82 | - .' character. Escape characters must always be followed by a character in a parameter value.'; |
|
82 | + .' character. Escape characters must always be followed by a character in a parameter value.'; |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | public static function httpProcessUtilityClosingQuoteNotFound($parameterName) |
94 | 94 | { |
95 | 95 | return 'Value for MIME type parameter \''.$parameterName.'\' is incorrect because the closing quote character' |
96 | - .' could not be found while the parameter value started with a quote character.'; |
|
96 | + .' could not be found while the parameter value started with a quote character.'; |
|
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | */ |
65 | 65 | public static function httpProcessUtilityEscapeCharWithoutQuotes($parameterName) |
66 | 66 | { |
67 | - return 'Value for MIME type parameter \''.$parameterName.'\' is incorrect because it contained escape'. |
|
67 | + return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because it contained escape' . |
|
68 | 68 | ' characters even though it was not quoted.'; |
69 | 69 | } |
70 | 70 | |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | public static function httpProcessUtilityEscapeCharAtEnd($parameterName) |
80 | 80 | { |
81 | - return 'Value for MIME type parameter \''.$parameterName.'\' is incorrect because it terminated with escape' |
|
81 | + return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because it terminated with escape' |
|
82 | 82 | .' character. Escape characters must always be followed by a character in a parameter value.'; |
83 | 83 | } |
84 | 84 | |
@@ -92,7 +92,7 @@ discard block |
||
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 character' |
|
95 | + return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because the closing quote character' |
|
96 | 96 | .' could not be found while the parameter value started with a quote character.'; |
97 | 97 | } |
98 | 98 |
@@ -13,6 +13,6 @@ |
||
13 | 13 | public static function resourceSetContainerMustBeAssociatedWithEntityType() |
14 | 14 | { |
15 | 15 | return 'The ResourceTypeKind property of a ResourceType instance associated with a ResourceSet' |
16 | - .' must be equal to \'EntityType\''; |
|
16 | + .' must be equal to \'EntityType\''; |
|
17 | 17 | } |
18 | 18 | } |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | { |
18 | 18 | if ($notEndWithSvcOrHasQuery) { |
19 | 19 | return 'Malformed base service uri in the configuration file (should end with .svc, there should not'. |
20 | - ' be query or fragment in the base service uri)'; |
|
20 | + ' be query or fragment in the base service uri)'; |
|
21 | 21 | } |
22 | 22 | |
23 | 23 | return 'Malformed base service uri in the configuration file'; |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | public static function hostRequestUriIsNotBasedOnRelativeUriInConfig($requestUri, $relativeUri) |
36 | 36 | { |
37 | 37 | return 'The request uri ' . $requestUri . ' is not valid as it is not based on the configured relative uri ' |
38 | - . $relativeUri; |
|
38 | + . $relativeUri; |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | public static function badRequestInvalidUriForMediaResource($uri) |
88 | 88 | { |
89 | 89 | return 'The URI \''.$uri.'\' is not valid. The segment before \'$value\' must be a Media Link Entry or' |
90 | - .' a primitive property.'; |
|
90 | + .' a primitive property.'; |
|
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | public static function hostNonODataOptionBeginsWithSystemCharacter($optionName) |
102 | 102 | { |
103 | 103 | return 'The query parameter \''.$optionName.'\' begins with a system-reserved \'$\' character but' |
104 | - .' is not recognized.'; |
|
104 | + .' is not recognized.'; |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
@@ -139,6 +139,6 @@ discard block |
||
139 | 139 | public static function bothIfMatchAndIfNoneMatchHeaderSpecified() |
140 | 140 | { |
141 | 141 | return 'Both If-Match and If-None-Match HTTP headers cannot be specified at the same time. Please specify' |
142 | - .' either one of the headers or none of them.'; |
|
142 | + .' either one of the headers or none of them.'; |
|
143 | 143 | } |
144 | 144 | } |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | public static function hostMalFormedBaseUriInConfig($notEndWithSvcOrHasQuery = false) |
17 | 17 | { |
18 | 18 | if ($notEndWithSvcOrHasQuery) { |
19 | - return 'Malformed base service uri in the configuration file (should end with .svc, there should not'. |
|
19 | + return 'Malformed base service uri in the configuration file (should end with .svc, there should not' . |
|
20 | 20 | ' be query or fragment in the base service uri)'; |
21 | 21 | } |
22 | 22 | |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | public static function onlyReadSupport(HTTPRequestMethod $method) |
49 | 49 | { |
50 | 50 | // TODO: Update to reflect expanded library capabilities? |
51 | - return 'This release of library supports only GET (read) request, received a request with method '. $method; |
|
51 | + return 'This release of library supports only GET (read) request, received a request with method ' . $method; |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | */ |
62 | 62 | public static function badRequestInvalidUriForThisVerb($uri, $verb) |
63 | 63 | { |
64 | - return 'The URI \''.$uri.'\' is not valid for '.$verb.' method.'; |
|
64 | + return 'The URI \'' . $uri . '\' is not valid for ' . $verb . ' method.'; |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | */ |
74 | 74 | public static function noDataForThisVerb($verb) |
75 | 75 | { |
76 | - return 'Method '.$verb.' expecting some data, but received empty data.'; |
|
76 | + return 'Method ' . $verb . ' expecting some data, but received empty data.'; |
|
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | */ |
87 | 87 | public static function badRequestInvalidUriForMediaResource($uri) |
88 | 88 | { |
89 | - return 'The URI \''.$uri.'\' is not valid. The segment before \'$value\' must be a Media Link Entry or' |
|
89 | + return 'The URI \'' . $uri . '\' is not valid. The segment before \'$value\' must be a Media Link Entry or' |
|
90 | 90 | .' a primitive property.'; |
91 | 91 | } |
92 | 92 | |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | */ |
101 | 101 | public static function hostNonODataOptionBeginsWithSystemCharacter($optionName) |
102 | 102 | { |
103 | - return 'The query parameter \''.$optionName.'\' begins with a system-reserved \'$\' character but' |
|
103 | + return 'The query parameter \'' . $optionName . '\' begins with a system-reserved \'$\' character but' |
|
104 | 104 | .' is not recognized.'; |
105 | 105 | } |
106 | 106 | |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | */ |
115 | 115 | public static function hostODataQueryOptionFoundWithoutValue($optionName) |
116 | 116 | { |
117 | - return 'Query parameter \''.$optionName.'\' is specified, but it should be specified with value.'; |
|
117 | + return 'Query parameter \'' . $optionName . '\' is specified, but it should be specified with value.'; |
|
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | */ |
128 | 128 | public static function hostODataQueryOptionCannotBeSpecifiedMoreThanOnce($optionName) |
129 | 129 | { |
130 | - return 'Query parameter \''.$optionName.'\' is specified, but it should be specified exactly once.'; |
|
130 | + return 'Query parameter \'' . $optionName . '\' is specified, but it should be specified exactly once.'; |
|
131 | 131 | } |
132 | 132 | |
133 | 133 | /** |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | public static function streamProviderWrapperMustImplementIStreamProviderToSupportStreaming() |
53 | 53 | { |
54 | 54 | return 'To support streaming, the data service must implement IService::getStreamProviderX() to return' |
55 | - .' an implementation of IStreamProvider or IStreamProvider2'; |
|
55 | + .' an implementation of IStreamProvider or IStreamProvider2'; |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | public static function streamProviderWrapperMaxProtocolVersionMustBeV3OrAboveToSupportNamedStreams() |
64 | 64 | { |
65 | 65 | return 'To support named streams, the MaxProtocolVersion of the data service must be set to' |
66 | - .' ProtocolVersion.V3 or above.'; |
|
66 | + .' ProtocolVersion.V3 or above.'; |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | public static function streamProviderWrapperMustImplementStreamProvider2ToSupportNamedStreams() |
76 | 76 | { |
77 | 77 | return 'To support named streams, the data service must implement IServiceProvider.GetService() to' |
78 | - .' return an implementation of IStreamProvider2 or the data source must implement IStreamProvider2.'; |
|
78 | + .' return an implementation of IStreamProvider2 or the data source must implement IStreamProvider2.'; |
|
79 | 79 | } |
80 | 80 | |
81 | 81 | /** |
@@ -87,7 +87,7 @@ |
||
87 | 87 | */ |
88 | 88 | public static function streamProviderWrapperMustNotSetContentTypeAndEtag($methodName) |
89 | 89 | { |
90 | - return 'The method '.$methodName.' must not set the HTTP response headers \'Content-Type\' and \'ETag\''; |
|
90 | + return 'The method ' . $methodName . ' must not set the HTTP response headers \'Content-Type\' and \'ETag\''; |
|
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | public static function commonArgumentShouldBeInteger($argument, $functionName) |
17 | 17 | { |
18 | 18 | return 'The argument to the function '.$functionName.' should be integer, non-integer value \'' |
19 | - .$argument.'\' passed'; |
|
19 | + .$argument.'\' passed'; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | public static function commonArgumentShouldBeNonNegative($argument, $functionName) |
32 | 32 | { |
33 | 33 | return 'The argument to the function '.$functionName.' should be non-negative, negative value \'' |
34 | - .$argument.'\' passed'; |
|
34 | + .$argument.'\' passed'; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
@@ -94,8 +94,8 @@ discard block |
||
94 | 94 | public static function badRequestInvalidPropertyNameSpecified($resourceTypeName, $propertyName) |
95 | 95 | { |
96 | 96 | return 'Error processing request stream. The property name '.$propertyName.' specified for type ' |
97 | - .$resourceTypeName.' is not valid. (Check the resource set of the navigation property \'' |
|
98 | - .$propertyName.'\' is visible)'; |
|
97 | + .$resourceTypeName.' is not valid. (Check the resource set of the navigation property \'' |
|
98 | + .$propertyName.'\' is visible)'; |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |
@@ -15,8 +15,8 @@ discard block |
||
15 | 15 | */ |
16 | 16 | public static function commonArgumentShouldBeInteger($argument, $functionName) |
17 | 17 | { |
18 | - return 'The argument to the function '.$functionName.' should be integer, non-integer value \'' |
|
19 | - .$argument.'\' passed'; |
|
18 | + return 'The argument to the function ' . $functionName . ' should be integer, non-integer value \'' |
|
19 | + .$argument . '\' passed'; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
@@ -30,8 +30,8 @@ discard block |
||
30 | 30 | */ |
31 | 31 | public static function commonArgumentShouldBeNonNegative($argument, $functionName) |
32 | 32 | { |
33 | - return 'The argument to the function '.$functionName.' should be non-negative, negative value \'' |
|
34 | - .$argument.'\' passed'; |
|
33 | + return 'The argument to the function ' . $functionName . ' should be non-negative, negative value \'' |
|
34 | + .$argument . '\' passed'; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | */ |
46 | 46 | public static function commonNotValidPrimitiveEDMType($argumentName, $functionName) |
47 | 47 | { |
48 | - return 'The argument \''.$argumentName.'\' to '.$functionName.' is not a valid EdmPrimitiveType Enum value.'; |
|
48 | + return 'The argument \'' . $argumentName . '\' to ' . $functionName . ' is not a valid EdmPrimitiveType Enum value.'; |
|
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | */ |
71 | 71 | public static function failedToAccessProperty($propertyName, $parentObjectName) |
72 | 72 | { |
73 | - return 'Data Service failed to access or initialize the property '.$propertyName.' of '.$parentObjectName.'.'; |
|
73 | + return 'Data Service failed to access or initialize the property ' . $propertyName . ' of ' . $parentObjectName . '.'; |
|
74 | 74 | } |
75 | 75 | |
76 | 76 | /** |
@@ -93,9 +93,9 @@ discard block |
||
93 | 93 | */ |
94 | 94 | public static function badRequestInvalidPropertyNameSpecified($resourceTypeName, $propertyName) |
95 | 95 | { |
96 | - return 'Error processing request stream. The property name '.$propertyName.' specified for type ' |
|
97 | - .$resourceTypeName.' is not valid. (Check the resource set of the navigation property \'' |
|
98 | - .$propertyName.'\' is visible)'; |
|
96 | + return 'Error processing request stream. The property name ' . $propertyName . ' specified for type ' |
|
97 | + .$resourceTypeName . ' is not valid. (Check the resource set of the navigation property \'' |
|
98 | + .$propertyName . '\' is visible)'; |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |
@@ -69,7 +69,7 @@ |
||
69 | 69 | $position |
70 | 70 | ) { |
71 | 71 | return 'No applicable function found for \''.$functionName.'\' at position '.$position.' with the specified' |
72 | - .' arguments. The functions considered are: '.$protoTypes; |
|
72 | + .' arguments. The functions considered are: '.$protoTypes; |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | */ |
52 | 52 | public static function expressionLexerInvalidCharacter($ch, $pos) |
53 | 53 | { |
54 | - return 'Invalid character \''.$ch.'\' at position '.$pos; |
|
54 | + return 'Invalid character \'' . $ch . '\' at position ' . $pos; |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
@@ -68,8 +68,8 @@ discard block |
||
68 | 68 | $protoTypes, |
69 | 69 | $position |
70 | 70 | ) { |
71 | - return 'No applicable function found for \''.$functionName.'\' at position '.$position.' with the specified' |
|
72 | - .' arguments. The functions considered are: '.$protoTypes; |
|
71 | + return 'No applicable function found for \'' . $functionName . '\' at position ' . $position . ' with the specified' |
|
72 | + .' arguments. The functions considered are: ' . $protoTypes; |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
@@ -83,6 +83,6 @@ discard block |
||
83 | 83 | */ |
84 | 84 | public static function expressionLexerNoPropertyInType($property, $type, $position) |
85 | 85 | { |
86 | - return 'No property \''.$property.'\' exists in type \''.$type.'\' at position '.$position; |
|
86 | + return 'No property \'' . $property . '\' exists in type \'' . $type . '\' at position ' . $position; |
|
87 | 87 | } |
88 | 88 | } |
@@ -41,7 +41,7 @@ discard block |
||
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 | /** |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | public static function skipTokenParserInCompatibleTypeAtPosition($skipToken, $expectedTypeName, $position, $typeProvidedInSkipTokenName) |
74 | 74 | { |
75 | 75 | return 'The skiptoken value \''.$skipToken.'\' contains a value of type \''.$typeProvidedInSkipTokenName |
76 | - .'\' at position '.$position.' which is not compatible with the type \''.$expectedTypeName |
|
77 | - .'\' of corresponding orderby constraint.'; |
|
76 | + .'\' at position '.$position.' which is not compatible with the type \''.$expectedTypeName |
|
77 | + .'\' of corresponding orderby constraint.'; |
|
78 | 78 | } |
79 | 79 | } |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | */ |
15 | 15 | public static function skipTokenParserSyntaxError($skipToken) |
16 | 16 | { |
17 | - return 'Bad Request - Error in the syntax of skiptoken \''.$skipToken.'\''; |
|
17 | + return 'Bad Request - Error in the syntax of skiptoken \'' . $skipToken . '\''; |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
@@ -40,8 +40,8 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public static function skipTokenParserSkipTokenNotMatchingOrdering($skipTokenValuesCount, $skipToken, $expectedCount) |
42 | 42 | { |
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.'; |
|
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.'; |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | */ |
55 | 55 | public static function skipTokenParserNullNotAllowedForKeys($skipToken) |
56 | 56 | { |
57 | - return 'The skiptoken value '.$skipToken.' contain null value for key'; |
|
57 | + return 'The skiptoken value ' . $skipToken . ' contain null value for key'; |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
@@ -72,8 +72,8 @@ discard block |
||
72 | 72 | */ |
73 | 73 | public static function skipTokenParserInCompatibleTypeAtPosition($skipToken, $expectedTypeName, $position, $typeProvidedInSkipTokenName) |
74 | 74 | { |
75 | - return 'The skiptoken value \''.$skipToken.'\' contains a value of type \''.$typeProvidedInSkipTokenName |
|
76 | - .'\' at position '.$position.' which is not compatible with the type \''.$expectedTypeName |
|
75 | + return 'The skiptoken value \'' . $skipToken . '\' contains a value of type \'' . $typeProvidedInSkipTokenName |
|
76 | + .'\' at position ' . $position . ' which is not compatible with the type \'' . $expectedTypeName |
|
77 | 77 | .'\' of corresponding orderby constraint.'; |
78 | 78 | } |
79 | 79 | } |