Skip to content

Commit

Permalink
- Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordi de la Mano committed Aug 3, 2022
1 parent 016567c commit 0d32f52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/RestServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ public function initController(RequestInterface $request, ResponseInterface $res
$this->router = service('router');

if (class_exists('\Daycry\Doctrine\Doctrine')) {
// @codeCoverageIgnoreStart
$this->doctrine = \Config\Services::doctrine();
// @codeCoverageIgnoreEnd
}

// Rest server config
Expand Down

0 comments on commit 0d32f52

Please # to comment.