@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | public static function segmentParserKeysMustBeNamed($segment) |
| 16 | 16 | { |
| 17 | 17 | return "Segments with multiple key values must specify them in 'name=value' form. For the" |
| 18 | - ." segment $segment use named keys"; |
|
| 18 | + ." segment $segment use named keys"; |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | /** |
@@ -30,8 +30,8 @@ discard block |
||
| 30 | 30 | public static function segmentParserMustBeLeafSegment($leafSegment) |
| 31 | 31 | { |
| 32 | 32 | return "The request URI is not valid. The segment '$leafSegment' must be the last segment in" |
| 33 | - ." the URI because it is one of the following: \$batch, \$value, \$metadata, \$count," |
|
| 34 | - ." a bag property, a named media resource, or a service operation that does not return a value."; |
|
| 33 | + ." the URI because it is one of the following: \$batch, \$value, \$metadata, \$count," |
|
| 34 | + ." a bag property, a named media resource, or a service operation that does not return a value."; |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | public static function segmentParserNoSegmentAllowedAfterPostLinkSegment($postPostLinkSegment) |
| 45 | 45 | { |
| 46 | 46 | return "The request URI is not valid. The segment '$postPostLinkSegment' is not valid. Since" |
| 47 | - ." the uri contains the \$links segment, there must be only one segment specified after that."; |
|
| 47 | + ." the uri contains the \$links segment, there must be only one segment specified after that."; |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | $primitivePropertySegment |
| 63 | 63 | ) { |
| 64 | 64 | return "The segment '$segment' in the request URI is not valid. Since the segment '$primitivePropertySegment'" |
| 65 | - ." refers to a primitive type property, the only supported value from the next segment is '\$value'."; |
|
| 65 | + ." refers to a primitive type property, the only supported value from the next segment is '\$value'."; |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
@@ -75,8 +75,8 @@ discard block |
||
| 75 | 75 | public static function segmentParserCannotQueryCollection($collectionSegment) |
| 76 | 76 | { |
| 77 | 77 | return "The request URI is not valid. Since the segment '$collectionSegment' refers to a collection," |
| 78 | - ." this must be the last segment in the request URI. All intermediate segments must refer to" |
|
| 79 | - ." a single resource."; |
|
| 78 | + ." this must be the last segment in the request URI. All intermediate segments must refer to" |
|
| 79 | + ." a single resource."; |
|
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | /** |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | public static function segmentParserCountCannotFollowSingleton($segment) |
| 90 | 90 | { |
| 91 | 91 | return "The request URI is not valid, since the segment '$segment' refers to a singleton, and the" |
| 92 | - ." segment '\$count' can only follow a resource collection."; |
|
| 92 | + ." segment '\$count' can only follow a resource collection."; |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | public static function segmentParserLinkSegmentMustBeFollowedByEntitySegment($segment) |
| 104 | 104 | { |
| 105 | 105 | return "The request URI is not valid. The segment '$segment' must refer to a navigation property" |
| 106 | - ." since the previous segment identifier is '\$links'."; |
|
| 106 | + ." since the previous segment identifier is '\$links'."; |
|
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | public static function segmentParserMissingSegmentAfterLink() |
| 115 | 115 | { |
| 116 | 116 | return "The request URI is not valid. There must a segment specified after the '\$links' segment" |
| 117 | - ." and the segment must refer to a entity resource."; |
|
| 117 | + ." and the segment must refer to a entity resource."; |
|
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | /** |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | public static function segmentParserSegmentNotAllowedOnRoot($segment) |
| 129 | 129 | { |
| 130 | 130 | return "The request URI is not valid, the segment '$segment' cannot be applied to the root of" |
| 131 | - ." the service"; |
|
| 131 | + ." the service"; |
|
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | /** |
@@ -164,6 +164,6 @@ discard block |
||
| 164 | 164 | public static function segmentParserCountCannotBeApplied($segment) |
| 165 | 165 | { |
| 166 | 166 | return "The request URI is not valid, \$count cannot be applied to the segment '$segment' " |
| 167 | - ."since \$count can only follow a resource segment."; |
|
| 167 | + ."since \$count can only follow a resource segment."; |
|
| 168 | 168 | } |
| 169 | 169 | } |
@@ -50,7 +50,7 @@ |
||
| 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" |
| 53 | - ." a collection of resources or has a \$count or \$link segment or has a \$expand as one" |
|
| 54 | - ." of the query parameters."; |
|
| 53 | + ." a collection of resources or has a \$count or \$link segment or has a \$expand as one" |
|
| 54 | + ." of the query parameters."; |
|
| 55 | 55 | } |
| 56 | 56 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | public static function queryProviderResultCountMissing($methodName, QueryType $queryType) |
| 26 | 26 | { |
| 27 | 27 | return "The implementation of the method $methodName must return a QueryResult instance" |
| 28 | - ." with a count for queries of type $queryType."; |
|
| 28 | + ." with a count for queries of type $queryType."; |
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | /** |
@@ -37,6 +37,6 @@ discard block |
||
| 37 | 37 | public static function queryProviderResultsMissing($methodName, QueryType $queryType) |
| 38 | 38 | { |
| 39 | 39 | return "The implementation of the method $methodName must return a QueryResult instance with" |
| 40 | - ." an array of results for queries of type $queryType."; |
|
| 40 | + ." an array of results for queries of type $queryType."; |
|
| 41 | 41 | } |
| 42 | 42 | } |