@@ -4,11 +4,11 @@ |
||
4 | 4 | trait queryProcessor |
5 | 5 | { |
6 | 6 | /** |
7 | - * Message to show error when query prcocessor found |
|
8 | - * invalid value for $format option. |
|
9 | - * |
|
10 | - * @return string The message |
|
11 | - */ |
|
7 | + * Message to show error when query prcocessor found |
|
8 | + * invalid value for $format option. |
|
9 | + * |
|
10 | + * @return string The message |
|
11 | + */ |
|
12 | 12 | public static function queryProcessorInvalidValueForFormat() |
13 | 13 | { |
14 | 14 | return 'Invalid $format query option - the only acceptable values are "json" and "atom"'; |
@@ -3,14 +3,14 @@ |
||
3 | 3 | trait common |
4 | 4 | { |
5 | 5 | /** |
6 | - * Format a message to show error when a non-integer value passed to |
|
7 | - * a function, which expects integer parameter. |
|
8 | - * |
|
9 | - * @param mixed $argument The non-integer argument |
|
10 | - * @param string $functionName The name of function |
|
11 | - * |
|
12 | - * @return string The formatted message |
|
13 | - */ |
|
6 | + * Format a message to show error when a non-integer value passed to |
|
7 | + * a function, which expects integer parameter. |
|
8 | + * |
|
9 | + * @param mixed $argument The non-integer argument |
|
10 | + * @param string $functionName The name of function |
|
11 | + * |
|
12 | + * @return string The formatted message |
|
13 | + */ |
|
14 | 14 | public static function commonArgumentShouldBeInteger($argument, $functionName) |
15 | 15 | { |
16 | 16 | return "The argument to the function '$functionName' should be integer, non-integer value '$argument' passed"; |
@@ -4,17 +4,17 @@ |
||
4 | 4 | trait skipTokenInfo |
5 | 5 | { |
6 | 6 | /** |
7 | - * Format a message to show error when one of the argument orderByPaths or |
|
8 | - * orderByValues is set and not both. |
|
9 | - * |
|
10 | - * @param string $orderByPathsVarName Name of the argument |
|
11 | - * holding orderByPathSegment |
|
12 | - * @param string $orderByValuesVarName Name of the argument holding |
|
13 | - * skip token values corresponding |
|
14 | - * to orderby paths |
|
15 | - * |
|
16 | - * @return string The formatted message |
|
17 | - */ |
|
7 | + * Format a message to show error when one of the argument orderByPaths or |
|
8 | + * orderByValues is set and not both. |
|
9 | + * |
|
10 | + * @param string $orderByPathsVarName Name of the argument |
|
11 | + * holding orderByPathSegment |
|
12 | + * @param string $orderByValuesVarName Name of the argument holding |
|
13 | + * skip token values corresponding |
|
14 | + * to orderby paths |
|
15 | + * |
|
16 | + * @return string The formatted message |
|
17 | + */ |
|
18 | 18 | public static function skipTokenInfoBothOrderByPathAndOrderByValuesShouldBeSetOrNotSet($orderByPathsVarName, $orderByValuesVarName) |
19 | 19 | { |
20 | 20 | return "Either both the arguments $orderByPathsVarName and $orderByValuesVarName should be null or not-null"; |
@@ -4,11 +4,11 @@ |
||
4 | 4 | trait configuration |
5 | 5 | { |
6 | 6 | /** |
7 | - * Error message to show when both page size and |
|
8 | - * result collection size are specified. |
|
9 | - * |
|
10 | - * @return string The message |
|
11 | - */ |
|
7 | + * Error message to show when both page size and |
|
8 | + * result collection size are specified. |
|
9 | + * |
|
10 | + * @return string The message |
|
11 | + */ |
|
12 | 12 | public static function configurationMaxResultAndPageSizeMutuallyExclusive() |
13 | 13 | { |
14 | 14 | return 'Specification of \'entity set page size\' is mutually exclusive with the specification of \'maximum result per collection\' in configuration'; |
@@ -38,5 +38,5 @@ |
||
38 | 38 | */ |
39 | 39 | class Messages |
40 | 40 | { |
41 | - use common,expressionParser,metadataAssociationType,orderByInfo,resourceAssociationSet,segmentParser,configuration,http,metadataResourceType,providersWrapper,resourceAssociationType,skipTokenInfo,eTag,httpProcessUtility,metadataWriter,queryProcessor,resourceProperty,skipTokenParser,expandProjectionParser,IService,navigation,queryProvider,resourceSet,streamProviderWrapper,expressionLexer,keyDescriptor,objectModelSerializer,request,resourceType,uriProcessor; |
|
41 | + use common, expressionParser, metadataAssociationType, orderByInfo, resourceAssociationSet, segmentParser, configuration, http, metadataResourceType, providersWrapper, resourceAssociationType, skipTokenInfo, eTag, httpProcessUtility, metadataWriter, queryProcessor, resourceProperty, skipTokenParser, expandProjectionParser, IService, navigation, queryProvider, resourceSet, streamProviderWrapper, expressionLexer, keyDescriptor, objectModelSerializer, request, resourceType, uriProcessor; |
|
42 | 42 | } |