@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Dontdrinkandroot\Service; |
| 4 | 4 | |
| 5 | -use Dontdrinkandroot\Entity\UuidHelper; |
|
| 6 | 5 | use Dontdrinkandroot\Repository\CrudRepositoryInterface; |
| 7 | 6 | use Dontdrinkandroot\Repository\UuidCrudRepositoryInterface; |
| 8 | 7 | use Dontdrinkandroot\Utils\EntityUtils; |
@@ -16,6 +16,9 @@ |
||
| 16 | 16 | return $query->getOneOrNullResult(); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | + /** |
|
| 20 | + * @param string $uuid |
|
| 21 | + */ |
|
| 19 | 22 | protected function createFindByUuidQuery($uuid): Query |
| 20 | 23 | { |
| 21 | 24 | $queryBuilder = $this->createQueryBuilder('entity'); |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Dontdrinkandroot\Utils; |
| 4 | 4 | |
| 5 | 5 | use Dontdrinkandroot\Entity\EntityInterface; |
| 6 | -use Dontdrinkandroot\Entity\UuidHelper; |
|
| 7 | 6 | use Ramsey\Uuid\Uuid; |
| 8 | 7 | |
| 9 | 8 | /** |