| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function __construct() |
||
| 12 | { |
||
| 13 | $settings = array("settings"=>["determineRouteBeforeAppMiddleware"=>true]); |
||
| 14 | parent::__construct($settings); |
||
| 15 | $c = $this->getContainer(); |
||
| 16 | $c['errorHandler'] = function($c) { return new WebErrorHandler();}; |
||
|
|
|||
| 17 | $this->add(new AuthMiddleware()); |
||
| 18 | $this->add(new ODataMiddleware()); |
||
| 19 | } |
||
| 20 | |||
| 33 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.