@@ -46,7 +46,7 @@ |
||
| 46 | 46 | /** |
| 47 | 47 | * Returns a list of functions to add to the existing list. |
| 48 | 48 | * |
| 49 | - * @return array An array of functions |
|
| 49 | + * @return SimpleFunction[] An array of functions |
|
| 50 | 50 | */ |
| 51 | 51 | public function getFunctions() |
| 52 | 52 | { |
@@ -11,13 +11,13 @@ |
||
| 11 | 11 | |
| 12 | 12 | use Slick\Common\Utils\CollectionInterface; |
| 13 | 13 | use Slick\Database\Sql\Select; |
| 14 | -use Slick\Mvc\Service\Entity\QueryFilter\QueryFilterCollection; |
|
| 15 | 14 | use Slick\Mvc\Service\EntityServiceInterface; |
| 15 | +use Slick\Mvc\Service\Entity\QueryFilter\QueryFilterCollection; |
|
| 16 | 16 | use Slick\Mvc\Utils\Pagination; |
| 17 | 17 | use Slick\Orm\EntityInterface; |
| 18 | 18 | use Slick\Orm\Orm; |
| 19 | -use Slick\Orm\Repository\QueryObject\QueryObjectInterface; |
|
| 20 | 19 | use Slick\Orm\RepositoryInterface; |
| 20 | +use Slick\Orm\Repository\QueryObject\QueryObjectInterface; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Entity Listing Service |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | use Slick\Mvc\Exception\Service\EntityNotFoundException; |
| 13 | 13 | use Slick\Orm\EntityInterface; |
| 14 | 14 | use Slick\Orm\Orm; |
| 15 | -use Slick\Orm\Repository\EntityRepository; |
|
| 16 | 15 | use Slick\Orm\RepositoryInterface; |
| 16 | +use Slick\Orm\Repository\EntityRepository; |
|
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * Class EntityBasedMethods |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * |
| 61 | 61 | * @param int $entityId |
| 62 | 62 | * |
| 63 | - * @return null|EntityInterface |
|
| 63 | + * @return EntityInterface |
|
| 64 | 64 | */ |
| 65 | 65 | public function show($entityId = 0) |
| 66 | 66 | { |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | * |
| 88 | 88 | * @param EntityUpdateService $updateService |
| 89 | 89 | * |
| 90 | - * @return EntityCreateMethods |
|
| 90 | + * @return FormAwareMethods |
|
| 91 | 91 | */ |
| 92 | 92 | public function setUpdateService(EntityUpdateService $updateService) |
| 93 | 93 | { |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | * @param ControllerInterface $controller |
| 108 | 108 | * @param ServerRequestInterface $request |
| 109 | 109 | * |
| 110 | - * @return ServerRequestInterface|static |
|
| 110 | + * @return ServerRequestInterface |
|
| 111 | 111 | */ |
| 112 | 112 | protected function setViewVars( |
| 113 | 113 | ControllerInterface $controller, ServerRequestInterface $request |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | namespace Slick\Mvc; |
| 11 | 11 | |
| 12 | 12 | use Aura\Router\Route; |
| 13 | -use Guzzle\Http\Message\RequestInterface; |
|
| 14 | 13 | use Psr\Http\Message\ResponseInterface; |
| 15 | 14 | use Psr\Http\Message\ServerRequestInterface; |
| 16 | 15 | use Slick\Http\Server\AbstractMiddleware; |