@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace BoneMvc\Module\Dragon\Repository; |
| 4 | 4 | |
| 5 | -use BoneMvc\Module\Dragon\Collection\DragonCollection; |
|
| 6 | 5 | use BoneMvc\Module\Dragon\Entity\Dragon; |
| 7 | 6 | use Doctrine\ORM\EntityNotFoundException; |
| 8 | 7 | use Doctrine\ORM\EntityRepository; |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | - * @return mixed |
|
| 59 | + * @return integer |
|
| 60 | 60 | * @throws \Doctrine\ORM\NonUniqueResultException |
| 61 | 61 | */ |
| 62 | 62 | public function getTotalDragonCount() |
@@ -2,13 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Controller; |
| 4 | 4 | |
| 5 | -use Bone\Http\Response; |
|
| 6 | -use Bone\Mvc\OldController; |
|
| 7 | 5 | use Bone\Mvc\View\ViewEngine; |
| 8 | 6 | use Psr\Http\Message\ResponseInterface; |
| 9 | 7 | use Psr\Http\Message\ServerRequestInterface; |
| 10 | 8 | use Zend\Diactoros\Response\HtmlResponse; |
| 11 | -use Zend\Diactoros\Stream; |
|
| 12 | 9 | |
| 13 | 10 | /** |
| 14 | 11 | * Class IndexController |