@@ -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) { |
@@ -157,7 +157,7 @@ |
||
| 157 | 157 | $odata->rowCount = $this->getRequest()->queryType == QueryType::ENTITIES_WITH_COUNT() ? |
| 158 | 158 | $this->getRequest()->getCountValue() : |
| 159 | 159 | null; |
| 160 | - $odata->entries = array_map(function($entry){ |
|
| 160 | + $odata->entries = array_map(function($entry) { |
|
| 161 | 161 | return $this->writeTopLevelElement( |
| 162 | 162 | $entry instanceof QueryResult ? $entry : new QueryResult($entry) |
| 163 | 163 | ); |