@@ -16,8 +16,8 @@ |
||
| 16 | 16 | use Doctrine\Common\Annotations\Reader; |
| 17 | 17 | use Doctrine\Common\Collections\Collection; |
| 18 | 18 | use Doctrine\Common\Inflector\Inflector; |
| 19 | -use Doctrine\ORM\Mapping\MappedSuperclass; |
|
| 20 | 19 | use Doctrine\ORM\Mapping\Id; |
| 20 | +use Doctrine\ORM\Mapping\MappedSuperclass; |
|
| 21 | 21 | use Doctrine\ORM\Proxy\Proxy; |
| 22 | 22 | use Symfony\Component\Serializer\Encoder\XmlEncoder; |
| 23 | 23 | use Symfony\Component\Serializer\Normalizer\PropertyNormalizer; |
@@ -242,7 +242,7 @@ |
||
| 242 | 242 | |
| 243 | 243 | /** |
| 244 | 244 | * @param FormInterface $form |
| 245 | - * @param ValidatorInterface $errors |
|
| 245 | + * @param ConstraintViolationListInterface $errors |
|
| 246 | 246 | */ |
| 247 | 247 | protected function addErrorsIfExists(FormInterface $form, ConstraintViolationListInterface $errors) |
| 248 | 248 | { |
@@ -35,10 +35,9 @@ |
||
| 35 | 35 | use Symfony\Component\Form\FormEvent; |
| 36 | 36 | use Symfony\Component\Form\FormEvents; |
| 37 | 37 | use Symfony\Component\Form\FormInterface; |
| 38 | -use Symfony\Component\HttpFoundation\RequestStack; |
|
| 39 | 38 | use Symfony\Component\OptionsResolver\OptionsResolver; |
| 40 | -use Symfony\Component\Validator\Constraints as Assert; |
|
| 41 | 39 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
| 40 | +use Symfony\Component\Validator\Constraints as Assert; |
|
| 42 | 41 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
| 43 | 42 | |
| 44 | 43 | class OrderItemType extends AbstractType |
@@ -19,8 +19,8 @@ |
||
| 19 | 19 | use Eccube\Entity\OrderItem; |
| 20 | 20 | use Eccube\Entity\Shipping; |
| 21 | 21 | use Eccube\Repository\BaseInfoRepository; |
| 22 | -use Eccube\Repository\OrderRepository; |
|
| 23 | 22 | use Eccube\Repository\OrderPdfRepository; |
| 23 | +use Eccube\Repository\OrderRepository; |
|
| 24 | 24 | use Eccube\Repository\ShippingRepository; |
| 25 | 25 | use Eccube\Twig\Extension\EccubeExtension; |
| 26 | 26 | use setasign\Fpdi\TcpdfFpdi; |