@@ -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 | } |
@@ -110,8 +110,8 @@ |
||
110 | 110 | } |
111 | 111 | |
112 | 112 | /** |
113 | - * @return IMetadataProvider |
|
114 | - */ |
|
113 | + * @return IMetadataProvider |
|
114 | + */ |
|
115 | 115 | protected function getMetadata() |
116 | 116 | { |
117 | 117 | if (null == $this->metaProvider) { |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | $targClass = $resourceType->getInstanceType()->getName(); |
128 | 128 | if (!($res instanceof $targClass)) { |
129 | 129 | $msg = 'Object being serialised not instance of expected class, ' |
130 | - . $targClass . ', is actually ' . $payloadClass; |
|
130 | + . $targClass . ', is actually ' . $payloadClass; |
|
131 | 131 | throw new InvalidOperationException($msg); |
132 | 132 | } |
133 | 133 | |
@@ -628,10 +628,10 @@ discard block |
||
628 | 628 | /** @var string|null $queryParameterString */ |
629 | 629 | $queryParameterString = null; |
630 | 630 | foreach ([ODataConstants::HTTPQUERY_STRING_FILTER, |
631 | - ODataConstants::HTTPQUERY_STRING_EXPAND, |
|
632 | - ODataConstants::HTTPQUERY_STRING_ORDERBY, |
|
633 | - ODataConstants::HTTPQUERY_STRING_INLINECOUNT, |
|
634 | - ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) { |
|
631 | + ODataConstants::HTTPQUERY_STRING_EXPAND, |
|
632 | + ODataConstants::HTTPQUERY_STRING_ORDERBY, |
|
633 | + ODataConstants::HTTPQUERY_STRING_INLINECOUNT, |
|
634 | + ODataConstants::HTTPQUERY_STRING_SELECT, ] as $queryOption) { |
|
635 | 635 | /** @var string|null $value */ |
636 | 636 | $value = $this->getService()->getHost()->getQueryStringItem($queryOption); |
637 | 637 | if (null !== $value) { |
@@ -795,7 +795,7 @@ discard block |
||
795 | 795 | if (!(ResourcePropertyKind::RESOURCESET_REFERENCE == $propKind |
796 | 796 | || ResourcePropertyKind::RESOURCE_REFERENCE == $propKind)) { |
797 | 797 | $msg = '$propKind != ResourcePropertyKind::RESOURCESET_REFERENCE &&' |
798 | - . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE'; |
|
798 | + . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE'; |
|
799 | 799 | throw new InvalidOperationException($msg); |
800 | 800 | } |
801 | 801 | $propTail = ResourcePropertyKind::RESOURCE_REFERENCE == $propKind ? 'entry' : 'feed'; |
@@ -75,7 +75,7 @@ |
||
75 | 75 | $kVal = $typeKind; |
76 | 76 | if (!(ResourceTypeKind::PRIMITIVE() == $kVal || ResourceTypeKind::COMPLEX() == $kVal)) { |
77 | 77 | $msg = '$bagItemResourceTypeKind != ResourceTypeKind::PRIMITIVE' |
78 | - .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX'; |
|
78 | + .' && $bagItemResourceTypeKind != ResourceTypeKind::COMPLEX'; |
|
79 | 79 | throw new InvalidOperationException($msg); |
80 | 80 | } |
81 | 81 | if (null == $result) { |