@@ -727,7 +727,7 @@ |
||
727 | 727 | */ |
728 | 728 | private function addJSGlobals() |
729 | 729 | { |
730 | - $this->body = $this->body.'<script> |
|
730 | + $this->body = $this->body.'<script> |
|
731 | 731 | var profilesUrl = \''.$this->profilesUrl.'\' |
732 | 732 | var loginUrl = \''.$this->loginUrl.'\' |
733 | 733 | var logoutUrl = \''.$this->logoutUrl.'\' |
@@ -201,7 +201,7 @@ |
||
201 | 201 | { |
202 | 202 | if(is_object($data)) |
203 | 203 | { |
204 | - $data = get_object_vars($data); |
|
204 | + $data = get_object_vars($data); |
|
205 | 205 | } |
206 | 206 | |
207 | 207 | if(is_array($data)) |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $dataTable = $this->getDataTable(); |
76 | 76 | $odata = $request->getAttribute('odata', new \ODataParams(array())); |
77 | 77 | $areas = $dataTable->read($odata->filter, $odata->select, $odata->top, |
78 | - $odata->skip, $odata->orderby); |
|
78 | + $odata->skip, $odata->orderby); |
|
79 | 79 | return $response->withJson($areas); |
80 | 80 | } |
81 | 81 | |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | $odata = $request->getAttribute('odata', new \ODataParams(array())); |
102 | 102 | $filter = $this->getFilterForPrimaryKey($args['name']); |
103 | 103 | $areas = $dataTable->read($filter, $odata->select, $odata->top, |
104 | - $odata->skip, $odata->orderby); |
|
104 | + $odata->skip, $odata->orderby); |
|
105 | 105 | if(empty($areas)) |
106 | 106 | { |
107 | 107 | return $response->withStatus(404); |
@@ -13,5 +13,5 @@ |
||
13 | 13 | ->withStatus(500) |
14 | 14 | ->withHeader('Content-Type', 'text/html') |
15 | 15 | ->write(print_r($exception, true)); |
16 | - } |
|
16 | + } |
|
17 | 17 | } |