@@ -73,8 +73,7 @@ |
||
| 73 | 73 | $functionName, |
| 74 | 74 | $protoTypes, |
| 75 | 75 | $position |
| 76 | - ) |
|
| 77 | - { |
|
| 76 | + ) { |
|
| 78 | 77 | return 'No applicable function found for \'' . $functionName . '\' at position ' . $position . |
| 79 | 78 | ' with the specified arguments. The functions considered are: ' . $protoTypes; |
| 80 | 79 | } |
@@ -69,8 +69,7 @@ discard block |
||
| 69 | 69 | public static function expandProjectionParserPrimitivePropertyUsedAsNavigationProperty( |
| 70 | 70 | $resourceTypeName, |
| 71 | 71 | $primitivePropertyName |
| 72 | - ) |
|
| 73 | - { |
|
| 72 | + ) { |
|
| 74 | 73 | return 'Property \'' . $primitivePropertyName . '\' on type \'' . $resourceTypeName |
| 75 | 74 | . '\' is of primitive type and cannot be used as a navigation property.'; |
| 76 | 75 | } |
@@ -88,8 +87,7 @@ discard block |
||
| 88 | 87 | public static function expandProjectionParserComplexPropertyAsInnerSelectSegment( |
| 89 | 88 | $resourceTypeName, |
| 90 | 89 | $complexTypeName |
| 91 | - ) |
|
| 92 | - { |
|
| 90 | + ) { |
|
| 93 | 91 | return 'select doesn\'t support selection of properties of complex type. The property \'' . $complexTypeName |
| 94 | 92 | . '\' on type \'' . $resourceTypeName . '\' is a complex type.'; |
| 95 | 93 | } |
@@ -69,8 +69,7 @@ |
||
| 69 | 69 | $requestHeaderName, |
| 70 | 70 | $requestedVersion, |
| 71 | 71 | $availableVersions |
| 72 | - ) |
|
| 73 | - { |
|
| 72 | + ) { |
|
| 74 | 73 | return 'The version value ' . $requestedVersion . ' in the header ' . $requestHeaderName . ' is not' |
| 75 | 74 | . ' supported, available versions are ' . $availableVersions; |
| 76 | 75 | } |
@@ -34,8 +34,7 @@ |
||
| 34 | 34 | public static function metadataWriterNoResourceAssociationSetForNavigationProperty( |
| 35 | 35 | $navigationPropertyName, |
| 36 | 36 | $resourceTypeName |
| 37 | - ) |
|
| 38 | - { |
|
| 37 | + ) { |
|
| 39 | 38 | return 'No visible ResourceAssociationSet found for navigation property \'' . $navigationPropertyName . |
| 40 | 39 | '\' on type \'' . $resourceTypeName . '\'. There must be at least one ResourceAssociationSet for' . |
| 41 | 40 | ' each navigation property.'; |
@@ -48,8 +48,7 @@ discard block |
||
| 48 | 48 | $skipTokenValuesCount, |
| 49 | 49 | $skipToken, |
| 50 | 50 | $expectedCount |
| 51 | - ) |
|
| 52 | - { |
|
| 51 | + ) { |
|
| 53 | 52 | return 'The number of keys \'' . $skipTokenValuesCount . '\' in skip token with value \'' . $skipToken . |
| 54 | 53 | '\' did not match the number of ordering constraints \'' . $expectedCount . '\' for the resource type.'; |
| 55 | 54 | } |
@@ -85,8 +84,7 @@ discard block |
||
| 85 | 84 | $expectedTypeName, |
| 86 | 85 | $position, |
| 87 | 86 | $typeProvidedInSkipTokenName |
| 88 | - ) |
|
| 89 | - { |
|
| 87 | + ) { |
|
| 90 | 88 | return 'The skiptoken value \'' . $skipToken . '\' contains a value of type \'' . $typeProvidedInSkipTokenName |
| 91 | 89 | . '\' at position ' . $position . ' which is not compatible with the type \'' . $expectedTypeName |
| 92 | 90 | . '\' of corresponding orderby constraint.'; |
@@ -109,8 +109,7 @@ |
||
| 109 | 109 | $resourceSetName, |
| 110 | 110 | $resourceTypeName, |
| 111 | 111 | $resourcePropertyName |
| 112 | - ) |
|
| 113 | - { |
|
| 112 | + ) { |
|
| 114 | 113 | return 'IDSMP::GetResourceSet returns invalid instance of ResourceSet when invoked with params' . |
| 115 | 114 | ' {ResourceSet with name ' . $resourceSetName . ', ResourceType with name ' . $resourceTypeName |
| 116 | 115 | . ', ResourceProperty with name ' . $resourcePropertyName . '}.'; |
@@ -50,8 +50,7 @@ |
||
| 50 | 50 | public static function resourceAssociationSetEndResourceTypeMustBeAssignableToResourceSet( |
| 51 | 51 | $resourceTypeName, |
| 52 | 52 | $resourceSetName |
| 53 | - ) |
|
| 54 | - { |
|
| 53 | + ) { |
|
| 55 | 54 | return 'The resource type ' . $resourceTypeName . ' must be assignable to the resource set ' . |
| 56 | 55 | $resourceSetName . '.'; |
| 57 | 56 | } |
@@ -76,8 +76,7 @@ |
||
| 76 | 76 | $position, |
| 77 | 77 | $expectedType, |
| 78 | 78 | $actualType |
| 79 | - ) |
|
| 80 | - { |
|
| 79 | + ) { |
|
| 81 | 80 | return 'Syntax error in the segment \'' . $segment . '\'. The value of key property \'' . $keyProperty |
| 82 | 81 | . '\' at position ' . $position . ' should be of type ' . $expectedType . ', given ' . $actualType; |
| 83 | 82 | } |
@@ -66,8 +66,7 @@ |
||
| 66 | 66 | public static function segmentParserOnlyValueSegmentAllowedAfterPrimitivePropertySegment( |
| 67 | 67 | $segment, |
| 68 | 68 | $primitivePropertySegment |
| 69 | - ) |
|
| 70 | - { |
|
| 69 | + ) { |
|
| 71 | 70 | return 'The segment \'' . $segment . '\' in the request URI is not valid. Since the segment \'' |
| 72 | 71 | . $primitivePropertySegment . '\' refers to a primitive type property, the only supported value from' |
| 73 | 72 | . ' the next segment is \'$value\'.'; |