@@ -19,6 +19,6 @@ |
||
19 | 19 | public static function resourceSetContainerMustBeAssociatedWithEntityType() |
20 | 20 | { |
21 | 21 | return 'The ResourceTypeKind property of a ResourceType instance associated with a ResourceSet' |
22 | - . ' must be equal to \'EntityType\''; |
|
22 | + . ' must be equal to \'EntityType\''; |
|
23 | 23 | } |
24 | 24 | } |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | public static function streamProviderWrapperMustImplementIStreamProviderToSupportStreaming() |
59 | 59 | { |
60 | 60 | return 'To support streaming, the data service must implement IService::getStreamProviderX() to return' |
61 | - . ' an implementation of IStreamProvider or IStreamProvider2'; |
|
61 | + . ' an implementation of IStreamProvider or IStreamProvider2'; |
|
62 | 62 | } |
63 | 63 | |
64 | 64 | /** |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | public static function streamProviderWrapperMaxProtocolVersionMustBeV3OrAboveToSupportNamedStreams() |
70 | 70 | { |
71 | 71 | return 'To support named streams, the MaxProtocolVersion of the data service must be set to' |
72 | - . ' ProtocolVersion.V3 or above.'; |
|
72 | + . ' ProtocolVersion.V3 or above.'; |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | public static function streamProviderWrapperMustImplementStreamProvider2ToSupportNamedStreams() |
82 | 82 | { |
83 | 83 | return 'To support named streams, the data service must implement IServiceProvider.GetService() to' |
84 | - . ' return an implementation of IStreamProvider2 or the data source must implement IStreamProvider2.'; |
|
84 | + . ' return an implementation of IStreamProvider2 or the data source must implement IStreamProvider2.'; |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | public static function queryProcessorNoQueryOptionsApplicable() |
32 | 32 | { |
33 | 33 | return 'Query options $select, $expand, $filter, $orderby, $inlinecount, $skip, $skiptoken and $top are not' . |
34 | - ' supported by this request method or cannot be applied to the requested resource.'; |
|
34 | + ' supported by this request method or cannot be applied to the requested resource.'; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | public static function queryProcessorSkipTokenCannotBeAppliedForNonPagedResourceSet($resourceSetName) |
129 | 129 | { |
130 | 130 | return '$skiptoken cannot be applied to the resource set \'' . $resourceSetName |
131 | - . '\', since paging is not enabled for this resource set'; |
|
131 | + . '\', since paging is not enabled for this resource set'; |
|
132 | 132 | } |
133 | 133 | |
134 | 134 | /** |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | public static function requestVersionTooLow($requestedVersion, $requiredVersion) |
24 | 24 | { |
25 | 25 | return 'Request version \'' . $requestedVersion . '\' is not supported for the request payload. The only' |
26 | - . ' supported version is \'' . $requiredVersion . '\'.'; |
|
26 | + . ' supported version is \'' . $requiredVersion . '\'.'; |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | public static function requestVersionIsBiggerThanProtocolVersion($requiredVersion, $configuredVersion) |
39 | 39 | { |
40 | 40 | return 'The response requires that version ' . $requiredVersion . ' of the protocol be used, but the' |
41 | - . ' MaxProtocolVersion of the data service is set to ' . $configuredVersion . '.'; |
|
41 | + . ' MaxProtocolVersion of the data service is set to ' . $configuredVersion . '.'; |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
@@ -71,6 +71,6 @@ discard block |
||
71 | 71 | $availableVersions |
72 | 72 | ) { |
73 | 73 | return 'The version value ' . $requestedVersion . ' in the header ' . $requestHeaderName . ' is not' |
74 | - . ' supported, available versions are ' . $availableVersions; |
|
74 | + . ' supported, available versions are ' . $availableVersions; |
|
75 | 75 | } |
76 | 76 | } |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | public static function resourcePropertyInvalidKindParameter($argumentName) |
21 | 21 | { |
22 | 22 | return 'The argument \'' . $argumentName . '\' is not a valid ResourcePropertyKind enum value or' |
23 | - . ' valid combination of ResourcePropertyKind enum values'; |
|
23 | + . ' valid combination of ResourcePropertyKind enum values'; |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |
@@ -36,6 +36,6 @@ discard block |
||
36 | 36 | $resourceTypeArgName |
37 | 37 | ) { |
38 | 38 | return 'The \'' . $resourcePropertyKindArgName . '\' parameter does not match with the type of the resource' |
39 | - . ' type in parameter \'' . $resourceTypeArgName . '\''; |
|
39 | + . ' type in parameter \'' . $resourceTypeArgName . '\''; |
|
40 | 40 | } |
41 | 41 | } |
@@ -65,7 +65,7 @@ |
||
65 | 65 | $this->xmlWriter->openMemory(); |
66 | 66 | $this->xmlWriter->startDocument('1.0', 'UTF-8', 'yes'); |
67 | 67 | $this->xmlWriter->setIndent(true); |
68 | - $this->xmlWriter->setIndentString (' '); |
|
68 | + $this->xmlWriter->setIndentString(' '); |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
@@ -21,7 +21,7 @@ |
||
21 | 21 | public function __construct($message, $statusCode, $errorCode = null) |
22 | 22 | { |
23 | 23 | $this->statusCode = $statusCode; |
24 | - if($errorCode !== null) { |
|
24 | + if ($errorCode !== null) { |
|
25 | 25 | parent::__construct($message, $errorCode); |
26 | 26 | } |
27 | 27 | parent::__construct($message); |