@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * Get the data table for Pending Users |
75 | 75 | * |
76 | - * @return boolean|\Data\DataTable The Pending User Data Table |
|
76 | + * @return boolean The Pending User Data Table |
|
77 | 77 | */ |
78 | 78 | private function getPendingUserDataTable() |
79 | 79 | { |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | } |
282 | 282 | |
283 | 283 | /** |
284 | - * @param \Data\Filter $filter The filter to read with |
|
284 | + * @param \Flipside\Data\Filter $filter The filter to read with |
|
285 | 285 | * @param boolean|array $select The fields to read |
286 | 286 | * @param boolean|integer $top The number of entities to read |
287 | 287 | * @param boolean|integer $skip The number of entities to skip |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | $settings = array("settings"=>["determineRouteBeforeAppMiddleware"=>true, 'displayErrorDetails'=> true]); |
12 | 12 | parent::__construct($settings); |
13 | 13 | $c = $this->getContainer(); |
14 | - $c['errorHandler'] = function($c) { return new WebErrorHandler();}; |
|
14 | + $c['errorHandler'] = function($c) { return new WebErrorHandler(); }; |
|
15 | 15 | $this->add(new AuthMiddleware()); |
16 | 16 | $this->add(new ODataMiddleware()); |
17 | 17 | } |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | public function registerAPI($uri, $api) |
25 | 25 | { |
26 | - $group = $this->group($uri, function() use($api){$api->setup($this);}); |
|
26 | + $group = $this->group($uri, function() use($api){$api->setup($this); }); |
|
27 | 27 | $group->add(new \Flipside\Http\Rest\SerializationMiddleware()); |
28 | 28 | $group->add(new \Flipside\Http\Rest\CORSMiddleware($this->getContainer())); |
29 | 29 | } |
@@ -11,7 +11,9 @@ discard block |
||
11 | 11 | $settings = array("settings"=>["determineRouteBeforeAppMiddleware"=>true, 'displayErrorDetails'=> true]); |
12 | 12 | parent::__construct($settings); |
13 | 13 | $c = $this->getContainer(); |
14 | - $c['errorHandler'] = function($c) { return new WebErrorHandler();}; |
|
14 | + $c['errorHandler'] = function($c) |
|
15 | + { |
|
16 | +return new WebErrorHandler();}; |
|
15 | 17 | $this->add(new AuthMiddleware()); |
16 | 18 | $this->add(new ODataMiddleware()); |
17 | 19 | } |
@@ -23,7 +25,9 @@ discard block |
||
23 | 25 | |
24 | 26 | public function registerAPI($uri, $api) |
25 | 27 | { |
26 | - $group = $this->group($uri, function() use($api){$api->setup($this);}); |
|
28 | + $group = $this->group($uri, function() use($api) |
|
29 | + { |
|
30 | +$api->setup($this);}); |
|
27 | 31 | $group->add(new \Flipside\Http\Rest\SerializationMiddleware()); |
28 | 32 | $group->add(new \Flipside\Http\Rest\CORSMiddleware($this->getContainer())); |
29 | 33 | } |