@@ -877,10 +877,10 @@ |
||
| 877 | 877 | { |
| 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 | $value = $this->getService()->getHost()->getQueryStringItem($queryOption); |
| 885 | 885 | if (null !== $value) { |
| 886 | 886 | if (null !== $queryParameterString) { |
@@ -139,7 +139,7 @@ |
||
| 139 | 139 | |
| 140 | 140 | $baseUri = $this->isBaseWritten ? null : $this->absoluteServiceUriWithSlash; |
| 141 | 141 | $this->isBaseWritten = true; |
| 142 | - $entries = array_map(function($entry){ |
|
| 142 | + $entries = array_map(function($entry) { |
|
| 143 | 143 | return $this->writeTopLevelElement( |
| 144 | 144 | $entry instanceof QueryResult ? $entry : new QueryResult($entry) |
| 145 | 145 | ); |