@@ -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 | } |
@@ -24,7 +24,7 @@ |
||
24 | 24 | */ |
25 | 25 | public static function handleException(\Exception $exception, IService $service) |
26 | 26 | { |
27 | - $acceptTypesText = $service->getHost()->getRequestAccept(); |
|
27 | + $acceptTypesText = $service->getHost()->getRequestAccept(); |
|
28 | 28 | try { |
29 | 29 | $responseContentType = HttpProcessUtility::selectMimeType( |
30 | 30 | $acceptTypesText, |
@@ -78,7 +78,6 @@ |
||
78 | 78 | $this->eTag = $eTag; |
79 | 79 | $this->name = $name; |
80 | 80 | $this->srcLink = $srcLink; |
81 | - $this->rel = (null !== $rel) ? $rel : |
|
82 | - ODataConstants::ATOM_MEDIA_RESOURCE_RELATION_ATTRIBUTE_VALUE . $name; |
|
81 | + $this->rel = (null !== $rel) ? $rel : ODataConstants::ATOM_MEDIA_RESOURCE_RELATION_ATTRIBUTE_VALUE . $name; |
|
83 | 82 | } |
84 | 83 | } |