@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | $targClass = $resourceType->getInstanceType()->getName(); |
180 | 180 | if (!($entryObject->results instanceof $targClass)) { |
181 | 181 | $msg = 'Object being serialised not instance of expected class, ' |
182 | - . $targClass . ', is actually ' . $payloadClass; |
|
182 | + . $targClass . ', is actually ' . $payloadClass; |
|
183 | 183 | throw new InvalidOperationException($msg); |
184 | 184 | } |
185 | 185 | |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | if (!(ResourcePropertyKind::RESOURCESET_REFERENCE == $propKind |
234 | 234 | || ResourcePropertyKind::RESOURCE_REFERENCE == $propKind)) { |
235 | 235 | $msg = '$propKind != ResourcePropertyKind::RESOURCESET_REFERENCE &&' |
236 | - .' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE'; |
|
236 | + .' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE'; |
|
237 | 237 | throw new InvalidOperationException($msg); |
238 | 238 | } |
239 | 239 | $propTail = ResourcePropertyKind::RESOURCE_REFERENCE == $propKind ? 'entry' : 'feed'; |
@@ -782,10 +782,10 @@ discard block |
||
782 | 782 | { |
783 | 783 | $queryParameterString = null; |
784 | 784 | foreach ([ODataConstants::HTTPQUERY_STRING_FILTER, |
785 | - ODataConstants::HTTPQUERY_STRING_EXPAND, |
|
786 | - ODataConstants::HTTPQUERY_STRING_ORDERBY, |
|
787 | - ODataConstants::HTTPQUERY_STRING_INLINECOUNT, |
|
788 | - ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) { |
|
785 | + ODataConstants::HTTPQUERY_STRING_EXPAND, |
|
786 | + ODataConstants::HTTPQUERY_STRING_ORDERBY, |
|
787 | + ODataConstants::HTTPQUERY_STRING_INLINECOUNT, |
|
788 | + ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) { |
|
789 | 789 | $value = $this->getService()->getHost()->getQueryStringItem($queryOption); |
790 | 790 | if (null !== $value) { |
791 | 791 | if (null !== $queryParameterString) { |
@@ -972,7 +972,7 @@ discard block |
||
972 | 972 | $typeKind = $resourceType->getResourceTypeKind(); |
973 | 973 | if (!(ResourceTypeKind::PRIMITIVE() == $typeKind || ResourceTypeKind::COMPLEX() == $typeKind)) { |
974 | 974 | $msg = '$bagItemResourceTypeKind != ResourceTypeKind::PRIMITIVE' |
975 | - .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX'; |
|
975 | + .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX'; |
|
976 | 976 | throw new InvalidOperationException($msg); |
977 | 977 | } |
978 | 978 | if (null == $result) { |
@@ -1028,12 +1028,12 @@ discard block |
||
1028 | 1028 | $internalProperty = new ODataProperty(); |
1029 | 1029 | $internalProperty->name = $propName; |
1030 | 1030 | if (/** |
1031 | - * @param Mockery_41_POData_Providers_Metadata_ResourceType|ResourceType $resourceType |
|
1032 | - * @param AlgoWeb\PODataLaravel\Models\TestMonomorphicTarget|AlgoWeb\PODataLaravel\Serialisers\reusableEntityClass1|string[] $result |
|
1033 | - * @param string $propertyName |
|
1034 | - * |
|
1035 | - * @return POData\ObjectModel\ODataPropertyContent|null |
|
1036 | - */ |
|
1031 | + * @param Mockery_41_POData_Providers_Metadata_ResourceType|ResourceType $resourceType |
|
1032 | + * @param AlgoWeb\PODataLaravel\Models\TestMonomorphicTarget|AlgoWeb\PODataLaravel\Serialisers\reusableEntityClass1|string[] $result |
|
1033 | + * @param string $propertyName |
|
1034 | + * |
|
1035 | + * @return POData\ObjectModel\ODataPropertyContent|null |
|
1036 | + */ |
|
1037 | 1037 | static::/** |
1038 | 1038 | * @param Mockery_41_POData_Providers_Metadata_ResourceType|ResourceType $resourceType |
1039 | 1039 | * @param AlgoWeb\PODataLaravel\Models\TestMonomorphicTarget|AlgoWeb\PODataLaravel\Serialisers\reusableEntityClass1|string[] $result |