@@ -54,7 +54,7 @@ |
||
| 54 | 54 | }; |
| 55 | 55 | $this->functionDescriptionParsers[ODataConstants::STRFUN_ENDSWITH] = function ($params) { |
| 56 | 56 | return '(strcmp(substr(' . $params[0] . ', strlen(' . $params[0] . ') - strlen(' . $params[1] . ')), ' |
| 57 | - .$params[1] . ') === 0)'; |
|
| 57 | + .$params[1] . ') === 0)'; |
|
| 58 | 58 | }; |
| 59 | 59 | $this->functionDescriptionParsers[ODataConstants::STRFUN_INDEXOF] = function ($params) { |
| 60 | 60 | return 'strpos(' . $params[0] . ', ' . $params[1] . ')'; |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | $others = $this->getRelationsByRelationName($className, $relName); |
| 71 | 71 | if ($stub instanceof AssociationStubMonomorphic) { |
| 72 | 72 | $msg = 'Monomorphic relation stub on ' . $className . ' ' . $relName |
| 73 | - . ' should point to at most 1 other stub'; |
|
| 73 | + . ' should point to at most 1 other stub'; |
|
| 74 | 74 | if (!(1 >= count($others))) { |
| 75 | 75 | throw new InvalidOperationException($msg); |
| 76 | 76 | } |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | $targClass = $resourceType->getInstanceType()->getName(); |
| 190 | 190 | if (!($res instanceof $targClass)) { |
| 191 | 191 | $msg = 'Object being serialised not instance of expected class, ' |
| 192 | - . $targClass . ', is actually ' . $payloadClass; |
|
| 192 | + . $targClass . ', is actually ' . $payloadClass; |
|
| 193 | 193 | throw new InvalidOperationException($msg); |
| 194 | 194 | } |
| 195 | 195 | |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | if (!(ResourcePropertyKind::RESOURCESET_REFERENCE == $propKind |
| 252 | 252 | || ResourcePropertyKind::RESOURCE_REFERENCE == $propKind)) { |
| 253 | 253 | $msg = '$propKind != ResourcePropertyKind::RESOURCESET_REFERENCE &&' |
| 254 | - .' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE'; |
|
| 254 | + .' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE'; |
|
| 255 | 255 | throw new InvalidOperationException($msg); |
| 256 | 256 | } |
| 257 | 257 | $propTail = ResourcePropertyKind::RESOURCE_REFERENCE == $propKind ? 'entry' : 'feed'; |
@@ -877,10 +877,10 @@ discard block |
||
| 877 | 877 | /** @var string|null $queryParameterString */ |
| 878 | 878 | $queryParameterString = null; |
| 879 | 879 | foreach ([ODataConstants::HTTPQUERY_STRING_FILTER, |
| 880 | - ODataConstants::HTTPQUERY_STRING_EXPAND, |
|
| 881 | - ODataConstants::HTTPQUERY_STRING_ORDERBY, |
|
| 882 | - ODataConstants::HTTPQUERY_STRING_INLINECOUNT, |
|
| 883 | - ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) { |
|
| 880 | + ODataConstants::HTTPQUERY_STRING_EXPAND, |
|
| 881 | + ODataConstants::HTTPQUERY_STRING_ORDERBY, |
|
| 882 | + ODataConstants::HTTPQUERY_STRING_INLINECOUNT, |
|
| 883 | + ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) { |
|
| 884 | 884 | /** @var string|null $value */ |
| 885 | 885 | $value = $this->getService()->getHost()->getQueryStringItem($queryOption); |
| 886 | 886 | if (null !== $value) { |
@@ -1082,7 +1082,7 @@ discard block |
||
| 1082 | 1082 | $kVal = $typeKind; |
| 1083 | 1083 | if (!(ResourceTypeKind::PRIMITIVE() == $kVal || ResourceTypeKind::COMPLEX() == $kVal)) { |
| 1084 | 1084 | $msg = '$bagItemResourceTypeKind != ResourceTypeKind::PRIMITIVE' |
| 1085 | - .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX'; |
|
| 1085 | + .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX'; |
|
| 1086 | 1086 | throw new InvalidOperationException($msg); |
| 1087 | 1087 | } |
| 1088 | 1088 | if (null == $result) { |