@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | */ |
14 | 14 | public static function uriProcessorResourceNotFound($segment) |
15 | 15 | { |
16 | - return 'Resource not found for the segment \''.$segment.'\'.'; |
|
16 | + return 'Resource not found for the segment \'' . $segment . '\'.'; |
|
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
@@ -38,6 +38,6 @@ discard block |
||
38 | 38 | */ |
39 | 39 | public static function uriProcessorRequestUriDoesNotHaveTheRightBaseUri($requestUri, $serviceUri) |
40 | 40 | { |
41 | - return 'The URI \''.$requestUri.'\' is not valid since it is not based on \''.$serviceUri.'\''; |
|
41 | + return 'The URI \'' . $requestUri . '\' is not valid since it is not based on \'' . $serviceUri . '\''; |
|
42 | 42 | } |
43 | 43 | } |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | public static function providersWrapperNull() |
13 | 13 | { |
14 | 14 | return 'For custom providers, GetService should not return null for both IMetadataProvider and' |
15 | - .' IQueryProvider types.'; |
|
15 | + .' IQueryProvider types.'; |
|
16 | 16 | } |
17 | 17 | |
18 | 18 | /** |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | public static function providersWrapperInvalidExpressionProviderInstance() |
36 | 36 | { |
37 | 37 | return 'The value returned by IQueryProvider::getExpressionProvider method must be an implementation' |
38 | - .' of IExpressionProvider'; |
|
38 | + .' of IExpressionProvider'; |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | public static function providersWrapperEntitySetNameShouldBeUnique($entitySetName) |
73 | 73 | { |
74 | 74 | return 'More than one entity set with the name \''.$entitySetName |
75 | - .'\' was found. Entity set names must be unique'; |
|
75 | + .'\' was found. Entity set names must be unique'; |
|
76 | 76 | } |
77 | 77 | |
78 | 78 | /** |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | public static function providersWrapperEntityTypeNameShouldBeUnique($entityTypeName) |
87 | 87 | { |
88 | 88 | return 'More than one entity type with the name \''.$entityTypeName |
89 | - .'\' was found. Entity type names must be unique'; |
|
89 | + .'\' was found. Entity type names must be unique'; |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
@@ -102,8 +102,8 @@ discard block |
||
102 | 102 | public static function providersWrapperIDSMPGetResourceSetReturnsInvalidResourceSet($resourceSetName, $resourceTypeName, $resourcePropertyName) |
103 | 103 | { |
104 | 104 | return 'IDSMP::GetResourceSet retruns invalid instance of ResourceSet when invoked with params'. |
105 | - ' {ResourceSet with name '.$resourceSetName.', ResourceType with name '.$resourceTypeName |
|
106 | - .', ResourceProperty with name '.$resourcePropertyName.'}.'; |
|
105 | + ' {ResourceSet with name '.$resourceSetName.', ResourceType with name '.$resourceTypeName |
|
106 | + .', ResourceProperty with name '.$resourcePropertyName.'}.'; |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | /** |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | public static function providersWrapperIDSQPMethodReturnsUnExpectedType($entityTypeName, $methodName) |
119 | 119 | { |
120 | 120 | return 'The implementation of the method ' . $methodName . ' must return an instance of type described' |
121 | - .' by resource set\'s type(' . $entityTypeName . ') or null if resource does not exist.'; |
|
121 | + .' by resource set\'s type(' . $entityTypeName . ') or null if resource does not exist.'; |
|
122 | 122 | } |
123 | 123 | |
124 | 124 | /** |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | */ |
72 | 72 | public static function providersWrapperEntitySetNameShouldBeUnique($entitySetName) |
73 | 73 | { |
74 | - return 'More than one entity set with the name \''.$entitySetName |
|
74 | + return 'More than one entity set with the name \'' . $entitySetName |
|
75 | 75 | .'\' was found. Entity set names must be unique'; |
76 | 76 | } |
77 | 77 | |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | */ |
86 | 86 | public static function providersWrapperEntityTypeNameShouldBeUnique($entityTypeName) |
87 | 87 | { |
88 | - return 'More than one entity type with the name \''.$entityTypeName |
|
88 | + return 'More than one entity type with the name \'' . $entityTypeName |
|
89 | 89 | .'\' was found. Entity type names must be unique'; |
90 | 90 | } |
91 | 91 | |
@@ -101,9 +101,9 @@ discard block |
||
101 | 101 | */ |
102 | 102 | public static function providersWrapperIDSMPGetResourceSetReturnsInvalidResourceSet($resourceSetName, $resourceTypeName, $resourcePropertyName) |
103 | 103 | { |
104 | - return 'IDSMP::GetResourceSet retruns invalid instance of ResourceSet when invoked with params'. |
|
105 | - ' {ResourceSet with name '.$resourceSetName.', ResourceType with name '.$resourceTypeName |
|
106 | - .', ResourceProperty with name '.$resourcePropertyName.'}.'; |
|
104 | + return 'IDSMP::GetResourceSet retruns invalid instance of ResourceSet when invoked with params' . |
|
105 | + ' {ResourceSet with name ' . $resourceSetName . ', ResourceType with name ' . $resourceTypeName |
|
106 | + .', ResourceProperty with name ' . $resourcePropertyName . '}.'; |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | /** |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | public static function eTagNotAllowedForNonExistingResource() |
14 | 14 | { |
15 | 15 | return 'The resource targeted by the request does not exists, eTag header is not allowed for' |
16 | - .' non-existing resource.'; |
|
16 | + .' non-existing resource.'; |
|
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | public static function noETagPropertiesForType() |
26 | 26 | { |
27 | 27 | return 'If-Match or If-None-Match headers cannot be specified if the target type does not have' |
28 | - .' etag properties defined.'; |
|
28 | + .' etag properties defined.'; |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | public static function eTagCannotBeSpecified($uri) |
51 | 51 | { |
52 | 52 | return 'If-Match or If-None-Match HTTP headers cannot be specified since the URI \''.$uri.'\' refers to a' |
53 | - .' collection of resources or has a $count or $link segment or has an $expand as one of the query' |
|
54 | - .' parameters.'; |
|
53 | + .' collection of resources or has a $count or $link segment or has an $expand as one of the query' |
|
54 | + .' parameters.'; |
|
55 | 55 | } |
56 | 56 | } |
@@ -49,7 +49,7 @@ |
||
49 | 49 | */ |
50 | 50 | public static function eTagCannotBeSpecified($uri) |
51 | 51 | { |
52 | - return 'If-Match or If-None-Match HTTP headers cannot be specified since the URI \''.$uri.'\' refers to a' |
|
52 | + return 'If-Match or If-None-Match HTTP headers cannot be specified since the URI \'' . $uri . '\' refers to a' |
|
53 | 53 | .' collection of resources or has a $count or $link segment or has an $expand as one of the query' |
54 | 54 | .' parameters.'; |
55 | 55 | } |
@@ -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 | /** |
@@ -28,6 +28,6 @@ discard block |
||
28 | 28 | public static function resourcePropertyPropertyKindAndResourceTypeKindMismatch($resourcePropertyKindArgName, $resourceTypeArgName) |
29 | 29 | { |
30 | 30 | return 'The \''.$resourcePropertyKindArgName.'\' parameter does not match with the type of the resource' |
31 | - .' type in parameter \''.$resourceTypeArgName.'\''; |
|
31 | + .' type in parameter \''.$resourceTypeArgName.'\''; |
|
32 | 32 | } |
33 | 33 | } |
@@ -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 | |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | */ |
28 | 28 | public static function resourcePropertyPropertyKindAndResourceTypeKindMismatch($resourcePropertyKindArgName, $resourceTypeArgName) |
29 | 29 | { |
30 | - return 'The \''.$resourcePropertyKindArgName.'\' parameter does not match with the type of the resource' |
|
31 | - .' type in parameter \''.$resourceTypeArgName.'\''; |
|
30 | + return 'The \'' . $resourcePropertyKindArgName . '\' parameter does not match with the type of the resource' |
|
31 | + .' type in parameter \'' . $resourceTypeArgName . '\''; |
|
32 | 32 | } |
33 | 33 | } |
@@ -33,6 +33,6 @@ |
||
33 | 33 | */ |
34 | 34 | public static function urlMalformedUrl($url) |
35 | 35 | { |
36 | - return 'Bad Request - The url \''.$url.'\' is malformed.'; |
|
36 | + return 'Bad Request - The url \'' . $url . '\' is malformed.'; |
|
37 | 37 | } |
38 | 38 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | public static function orderByParserBagPropertyNotAllowed($bagPropertyName) |
64 | 64 | { |
65 | 65 | return 'orderby clause does not support Bag property in the path, the property \''.$bagPropertyName |
66 | - .'\' is a bag property'; |
|
66 | + .'\' is a bag property'; |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | public static function orderByParserPrimitiveAsIntermediateSegment($propertyName) |
78 | 78 | { |
79 | 79 | return 'The primitive property \''.$propertyName.'\' cannnot be used as intermediate segment, it should' |
80 | - .' be last segment'; |
|
80 | + .' be last segment'; |
|
81 | 81 | } |
82 | 82 | |
83 | 83 | /** |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | public static function orderByParserResourceSetReferenceNotAllowed($propertyName, $definedType) |
105 | 105 | { |
106 | 106 | return 'Navigation property points to a collection cannot be used in orderby clause, The property \'' |
107 | - .$propertyName.'\' defined on type \''.$definedType.'\' is such a property'; |
|
107 | + .$propertyName.'\' defined on type \''.$definedType.'\' is such a property'; |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | /** |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | public static function orderByParserSortByComplexPropertyIsNotAllowed($complexPropertyName) |
132 | 132 | { |
133 | 133 | return 'Complex property cannot be used as sort key, the property \''.$complexPropertyName |
134 | - .'\' is a complex property'; |
|
134 | + .'\' is a complex property'; |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | /** |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public static function orderByParserPropertyNotFound($resourceTypeName, $propertyName) |
51 | 51 | { |
52 | - return 'Error in the \'orderby\' clause. Type '.$resourceTypeName.' does not have a property named \''.$propertyName.'\'.'; |
|
52 | + return 'Error in the \'orderby\' clause. Type ' . $resourceTypeName . ' does not have a property named \'' . $propertyName . '\'.'; |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | */ |
63 | 63 | public static function orderByParserBagPropertyNotAllowed($bagPropertyName) |
64 | 64 | { |
65 | - return 'orderby clause does not support Bag property in the path, the property \''.$bagPropertyName |
|
65 | + return 'orderby clause does not support Bag property in the path, the property \'' . $bagPropertyName |
|
66 | 66 | .'\' is a bag property'; |
67 | 67 | } |
68 | 68 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | */ |
77 | 77 | public static function orderByParserPrimitiveAsIntermediateSegment($propertyName) |
78 | 78 | { |
79 | - return 'The primitive property \''.$propertyName.'\' cannnot be used as intermediate segment, it should' |
|
79 | + return 'The primitive property \'' . $propertyName . '\' cannnot be used as intermediate segment, it should' |
|
80 | 80 | .' be last segment'; |
81 | 81 | } |
82 | 82 | |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | */ |
90 | 90 | public static function orderByParserSortByBinaryPropertyNotAllowed($binaryPropertyName) |
91 | 91 | { |
92 | - return 'Binary property is not allowed in orderby clause, \''.$binaryPropertyName.'\''; |
|
92 | + return 'Binary property is not allowed in orderby clause, \'' . $binaryPropertyName . '\''; |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | public static function orderByParserResourceSetReferenceNotAllowed($propertyName, $definedType) |
105 | 105 | { |
106 | 106 | return 'Navigation property points to a collection cannot be used in orderby clause, The property \'' |
107 | - .$propertyName.'\' defined on type \''.$definedType.'\' is such a property'; |
|
107 | + .$propertyName . '\' defined on type \'' . $definedType . '\' is such a property'; |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | /** |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | */ |
118 | 118 | public static function orderByParserSortByNavigationPropertyIsNotAllowed($navigationPropertyName) |
119 | 119 | { |
120 | - return 'Navigation property cannot be used as sort key, \''.$navigationPropertyName.'\''; |
|
120 | + return 'Navigation property cannot be used as sort key, \'' . $navigationPropertyName . '\''; |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | /** |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | */ |
131 | 131 | public static function orderByParserSortByComplexPropertyIsNotAllowed($complexPropertyName) |
132 | 132 | { |
133 | - return 'Complex property cannot be used as sort key, the property \''.$complexPropertyName |
|
133 | + return 'Complex property cannot be used as sort key, the property \'' . $complexPropertyName |
|
134 | 134 | .'\' is a complex property'; |
135 | 135 | } |
136 | 136 | |
@@ -177,6 +177,6 @@ discard block |
||
177 | 177 | */ |
178 | 178 | public static function orderByParserFailedToAccessOrInitializeProperty($propertyName, $parentObjectName) |
179 | 179 | { |
180 | - return 'OrderBy parser failed to access or initialize the property '.$propertyName.' of '.$parentObjectName; |
|
180 | + return 'OrderBy parser failed to access or initialize the property ' . $propertyName . ' of ' . $parentObjectName; |
|
181 | 181 | } |
182 | 182 | } |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | public static function queryProcessorNoQueryOptionsApplicable() |
26 | 26 | { |
27 | 27 | return 'Query options $select, $expand, $filter, $orderby, $inlinecount, $skip, $skiptoken and $top are not'. |
28 | - ' supported by this request method or cannot be applied to the requested resource.'; |
|
28 | + ' supported by this request method or cannot be applied to the requested resource.'; |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | public static function queryProcessorSkipTokenCannotBeAppliedForNonPagedResourceSet($resourceSetName) |
124 | 124 | { |
125 | 125 | return '$skiptoken cannot be applied to the resource set \''.$resourceSetName |
126 | - .'\', since paging is not enabled for this resource set'; |
|
126 | + .'\', since paging is not enabled for this resource set'; |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | /** |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public static function queryProcessorNoQueryOptionsApplicable() |
26 | 26 | { |
27 | - return 'Query options $select, $expand, $filter, $orderby, $inlinecount, $skip, $skiptoken and $top are not'. |
|
27 | + return 'Query options $select, $expand, $filter, $orderby, $inlinecount, $skip, $skiptoken and $top are not' . |
|
28 | 28 | ' supported by this request method or cannot be applied to the requested resource.'; |
29 | 29 | } |
30 | 30 | |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | */ |
109 | 109 | public static function queryProcessorIncorrectArgumentFormat($argName, $argValue) |
110 | 110 | { |
111 | - return 'Incorrect format for '.$argName.' argument \''.$argValue.'\''; |
|
111 | + return 'Incorrect format for ' . $argName . ' argument \'' . $argValue . '\''; |
|
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | */ |
123 | 123 | public static function queryProcessorSkipTokenCannotBeAppliedForNonPagedResourceSet($resourceSetName) |
124 | 124 | { |
125 | - return '$skiptoken cannot be applied to the resource set \''.$resourceSetName |
|
125 | + return '$skiptoken cannot be applied to the resource set \'' . $resourceSetName |
|
126 | 126 | .'\', since paging is not enabled for this resource set'; |
127 | 127 | } |
128 | 128 | |
@@ -137,6 +137,6 @@ discard block |
||
137 | 137 | */ |
138 | 138 | public static function queryProcessorSelectOrExpandOptionNotApplicable($queryItem) |
139 | 139 | { |
140 | - return 'Query option '.$queryItem.' cannot be applied to the requested resource'; |
|
140 | + return 'Query option ' . $queryItem . ' cannot be applied to the requested resource'; |
|
141 | 141 | } |
142 | 142 | } |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | public static function configurationMaxResultAndPageSizeMutuallyExclusive() |
14 | 14 | { |
15 | 15 | return 'Specification of \'entity set page size\' is mutually exclusive with the specification ' |
16 | - .'of \'maximum result per collection\' in configuration'; |
|
16 | + .'of \'maximum result per collection\' in configuration'; |
|
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | public static function configurationCountNotAccepted() |
53 | 53 | { |
54 | 54 | return 'The ability of the data service to return row count information is disabled. To enable' |
55 | - .' this functionality, set the ServiceConfiguration.AcceptCountRequests property to true.'; |
|
55 | + .' this functionality, set the ServiceConfiguration.AcceptCountRequests property to true.'; |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | public static function configurationProjectionsNotAccepted() |
65 | 65 | { |
66 | 66 | return 'The ability to use the $select query option to define a projection in a data service query is' |
67 | - .' disabled. To enable this functionality, call ServiceConfiguration::setAcceptProjectionRequests' |
|
68 | - .' method with argument as true.'; |
|
67 | + .' disabled. To enable this functionality, call ServiceConfiguration::setAcceptProjectionRequests' |
|
68 | + .' method with argument as true.'; |
|
69 | 69 | } |
70 | 70 | } |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | */ |
27 | 27 | public static function configurationResourceSetNameNotFound($name) |
28 | 28 | { |
29 | - return 'The given name \''.$name.'\' was not found in the entity sets'; |
|
29 | + return 'The given name \'' . $name . '\' was not found in the entity sets'; |
|
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public static function configurationRightsAreNotInRange($argument, $functionName) |
42 | 42 | { |
43 | - return 'The argument \''.$argument.'\' of \''.$functionName.'\' should be EntitySetRights enum value'; |
|
43 | + return 'The argument \'' . $argument . '\' of \'' . $functionName . '\' should be EntitySetRights enum value'; |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | public static function expandedProjectionNodeArgumentTypeShouldBeProjection() |
14 | 14 | { |
15 | 15 | return 'The argument to ExpandedProjectionNode::addNode should be either ProjectionNode or' |
16 | - .' ExpandedProjectionNode'; |
|
16 | + .' ExpandedProjectionNode'; |
|
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | $clause = $isSelect ? 'select' : 'expand'; |
34 | 34 | |
35 | 35 | return 'Error in the '.$clause.' clause. Type \''.$resourceTypeName.'\' does not have a property named \'' |
36 | - .$propertyName.'\'.'; |
|
36 | + .$propertyName.'\'.'; |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | public static function expandProjectionParserExpandCanOnlyAppliedToEntity($resourceTypeName, $propertyName) |
49 | 49 | { |
50 | 50 | return 'Error in the expand clause. Expand path can contain only navigation property, the property '. |
51 | - '\''.$propertyName.'\' defined in \''.$resourceTypeName.'\' is not a navigation property'; |
|
51 | + '\''.$propertyName.'\' defined in \''.$resourceTypeName.'\' is not a navigation property'; |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | public static function expandProjectionParserPrimitivePropertyUsedAsNavigationProperty($resourceTypeName, $primitvePropertyName) |
66 | 66 | { |
67 | 67 | return 'Property \''.$primitvePropertyName.'\' on type \''.$resourceTypeName |
68 | - .'\' is of primitive type and cannot be used as a navigation property.'; |
|
68 | + .'\' is of primitive type and cannot be used as a navigation property.'; |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | public static function expandProjectionParserComplexPropertyAsInnerSelectSegment($resourceTypeName, $complextTypeName) |
82 | 82 | { |
83 | 83 | return 'select doesn\'t support selection of properties of complex type. The property \''.$complextTypeName |
84 | - .'\' on type \''.$resourceTypeName.'\' is a complex type.'; |
|
84 | + .'\' on type \''.$resourceTypeName.'\' is a complex type.'; |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | public static function expandProjectionParserBagPropertyAsInnerSelectSegment($resourceTypeName, $bagPropertyName) |
98 | 98 | { |
99 | 99 | return 'The selection from property \''.$bagPropertyName.'\' on type \''.$resourceTypeName |
100 | - .'\' is not valid. The select query option does not support selection items from a bag property.'; |
|
100 | + .'\' is not valid. The select query option does not support selection items from a bag property.'; |
|
101 | 101 | } |
102 | 102 | |
103 | 103 | /** |
@@ -123,6 +123,6 @@ discard block |
||
123 | 123 | public static function expandProjectionParserPropertyWithoutMatchingExpand($propertyName) |
124 | 124 | { |
125 | 125 | return 'Only navigation properties specified in expand option can be traversed in select option. In order to' |
126 | - .' traverse the navigation property \'' . $propertyName . '\', it should be first expanded'; |
|
126 | + .' traverse the navigation property \'' . $propertyName . '\', it should be first expanded'; |
|
127 | 127 | } |
128 | 128 | } |
@@ -32,8 +32,8 @@ discard block |
||
32 | 32 | { |
33 | 33 | $clause = $isSelect ? 'select' : 'expand'; |
34 | 34 | |
35 | - return 'Error in the '.$clause.' clause. Type \''.$resourceTypeName.'\' does not have a property named \'' |
|
36 | - .$propertyName.'\'.'; |
|
35 | + return 'Error in the ' . $clause . ' clause. Type \'' . $resourceTypeName . '\' does not have a property named \'' |
|
36 | + .$propertyName . '\'.'; |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -47,8 +47,8 @@ discard block |
||
47 | 47 | */ |
48 | 48 | public static function expandProjectionParserExpandCanOnlyAppliedToEntity($resourceTypeName, $propertyName) |
49 | 49 | { |
50 | - return 'Error in the expand clause. Expand path can contain only navigation property, the property '. |
|
51 | - '\''.$propertyName.'\' defined in \''.$resourceTypeName.'\' is not a navigation property'; |
|
50 | + return 'Error in the expand clause. Expand path can contain only navigation property, the property ' . |
|
51 | + '\'' . $propertyName . '\' defined in \'' . $resourceTypeName . '\' is not a navigation property'; |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | */ |
65 | 65 | public static function expandProjectionParserPrimitivePropertyUsedAsNavigationProperty($resourceTypeName, $primitvePropertyName) |
66 | 66 | { |
67 | - return 'Property \''.$primitvePropertyName.'\' on type \''.$resourceTypeName |
|
67 | + return 'Property \'' . $primitvePropertyName . '\' on type \'' . $resourceTypeName |
|
68 | 68 | .'\' is of primitive type and cannot be used as a navigation property.'; |
69 | 69 | } |
70 | 70 | |
@@ -80,8 +80,8 @@ discard block |
||
80 | 80 | */ |
81 | 81 | public static function expandProjectionParserComplexPropertyAsInnerSelectSegment($resourceTypeName, $complextTypeName) |
82 | 82 | { |
83 | - return 'select doesn\'t support selection of properties of complex type. The property \''.$complextTypeName |
|
84 | - .'\' on type \''.$resourceTypeName.'\' is a complex type.'; |
|
83 | + return 'select doesn\'t support selection of properties of complex type. The property \'' . $complextTypeName |
|
84 | + .'\' on type \'' . $resourceTypeName . '\' is a complex type.'; |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | */ |
97 | 97 | public static function expandProjectionParserBagPropertyAsInnerSelectSegment($resourceTypeName, $bagPropertyName) |
98 | 98 | { |
99 | - return 'The selection from property \''.$bagPropertyName.'\' on type \''.$resourceTypeName |
|
99 | + return 'The selection from property \'' . $bagPropertyName . '\' on type \'' . $resourceTypeName |
|
100 | 100 | .'\' is not valid. The select query option does not support selection items from a bag property.'; |
101 | 101 | } |
102 | 102 |