@@ -116,7 +116,7 @@ |
||
| 116 | 116 | */ |
| 117 | 117 | public function iChangeRatioTo($ratio) |
| 118 | 118 | { |
| 119 | - $this->updatePage->changeRatio((float)$ratio); |
|
| 119 | + $this->updatePage->changeRatio((float) $ratio); |
|
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | /** |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | - * @param $code |
|
| 96 | + * @param string $code |
|
| 97 | 97 | * |
| 98 | 98 | * @return null|string |
| 99 | 99 | */ |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | - * @return array |
|
| 106 | + * @return string[] |
|
| 107 | 107 | */ |
| 108 | 108 | private function getAvailableCountries() |
| 109 | 109 | { |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType; |
| 15 | 15 | use Symfony\Component\Form\Extension\Core\Type\ChoiceType; |
| 16 | -use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
| 17 | 16 | use Symfony\Component\Form\Extension\Core\Type\TextType; |
| 17 | +use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
| 18 | 18 | use Symfony\Component\Form\FormBuilderInterface; |
| 19 | 19 | use Symfony\Component\OptionsResolver\OptionsResolver; |
| 20 | 20 | use Symfony\Component\Validator\Constraints\Valid; |
@@ -12,9 +12,6 @@ |
||
| 12 | 12 | namespace Sylius\Bundle\TaxonomyBundle\DependencyInjection; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 15 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType; |
|
| 16 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceToHiddenIdentifierType; |
|
| 17 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceToIdentifierType; |
|
| 18 | 15 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
| 19 | 16 | use Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonTranslationType; |
| 20 | 17 | use Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonType; |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
| 15 | 15 | use Sylius\Bundle\UserBundle\Controller\UserController; |
| 16 | -use Sylius\Bundle\UserBundle\Form\Type\UserType; |
|
| 17 | 16 | use Sylius\Component\Resource\Factory\Factory; |
| 18 | 17 | use Sylius\Component\User\Model\User; |
| 19 | 18 | use Sylius\Component\User\Model\UserInterface; |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Sylius\Bundle\UserBundle\Form\Type; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType; |
| 15 | -use Sylius\Component\Resource\Metadata\MetadataInterface; |
|
| 16 | 15 | use Symfony\Component\Form\Extension\Core\Type\CheckboxType; |
| 17 | 16 | use Symfony\Component\Form\Extension\Core\Type\EmailType; |
| 18 | 17 | use Symfony\Component\Form\Extension\Core\Type\PasswordType; |
@@ -12,17 +12,14 @@ |
||
| 12 | 12 | namespace Sylius\Bundle\CustomerBundle\DependencyInjection; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\CustomerBundle\Form\Type\CustomerGroupType; |
| 15 | +use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType; |
|
| 15 | 16 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 16 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
|
| 17 | 17 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
| 18 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType; |
|
| 19 | -use Sylius\Bundle\CustomerBundle\Form\Type\CustomerProfileType; |
|
| 20 | -use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType; |
|
| 21 | -use Sylius\Component\Customer\Model\CustomerGroup; |
|
| 22 | -use Sylius\Component\Resource\Factory\Factory; |
|
| 23 | 18 | use Sylius\Component\Customer\Model\Customer; |
| 24 | -use Sylius\Component\Customer\Model\CustomerInterface; |
|
| 19 | +use Sylius\Component\Customer\Model\CustomerGroup; |
|
| 25 | 20 | use Sylius\Component\Customer\Model\CustomerGroupInterface; |
| 21 | +use Sylius\Component\Customer\Model\CustomerInterface; |
|
| 22 | +use Sylius\Component\Resource\Factory\Factory; |
|
| 26 | 23 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
| 27 | 24 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
| 28 | 25 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
@@ -11,12 +11,7 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Bundle\AttributeBundle\DependencyInjection; |
| 13 | 13 | |
| 14 | -use Sylius\Bundle\AttributeBundle\Controller\ProductAttributeController; |
|
| 15 | -use Sylius\Bundle\AttributeBundle\Form\Type\AttributeTranslationType; |
|
| 16 | -use Sylius\Bundle\AttributeBundle\Form\Type\AttributeType; |
|
| 17 | -use Sylius\Bundle\AttributeBundle\Form\Type\AttributeValueType; |
|
| 18 | 14 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 19 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
|
| 20 | 15 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
| 21 | 16 | use Sylius\Component\Attribute\Model\Attribute; |
| 22 | 17 | use Sylius\Component\Attribute\Model\AttributeInterface; |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Sylius\Component\Resource\Metadata\MetadataInterface; |
| 18 | 18 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 19 | 19 | use Symfony\Component\DependencyInjection\Definition; |
| 20 | -use Symfony\Component\DependencyInjection\Parameter; |
|
| 21 | 20 | use Symfony\Component\DependencyInjection\Reference; |
| 22 | 21 | |
| 23 | 22 | /** |