@@ -23,12 +23,14 @@ discard block |
||
| 23 | 23 | { |
| 24 | 24 | /** |
| 25 | 25 | * @param string $code |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function specifyCode($code); |
| 28 | 29 | |
| 29 | 30 | /** |
| 30 | 31 | * @param string $name |
| 31 | 32 | * @param string $language |
| 33 | + * @return void |
|
| 32 | 34 | */ |
| 33 | 35 | public function nameIt($name, $language); |
| 34 | 36 | |
@@ -40,19 +42,25 @@ discard block |
||
| 40 | 42 | /** |
| 41 | 43 | * @param string $value |
| 42 | 44 | * @param string $localeCode |
| 45 | + * @return void |
|
| 43 | 46 | */ |
| 44 | 47 | public function addAttributeValue(string $value, string $localeCode): void; |
| 45 | 48 | |
| 46 | 49 | /** |
| 47 | 50 | * @param int $min |
| 51 | + * @return void |
|
| 48 | 52 | */ |
| 49 | 53 | public function specifyMinValue(int $min): void; |
| 50 | 54 | |
| 51 | 55 | /** |
| 52 | 56 | * @param int $max |
| 57 | + * @return void |
|
| 53 | 58 | */ |
| 54 | 59 | public function specifyMaxValue(int $max): void; |
| 55 | 60 | |
| 61 | + /** |
|
| 62 | + * @return void |
|
| 63 | + */ |
|
| 56 | 64 | public function checkMultiple(): void; |
| 57 | 65 | |
| 58 | 66 | /** |
@@ -23,6 +23,7 @@ discard block |
||
| 23 | 23 | /** |
| 24 | 24 | * @param string $name |
| 25 | 25 | * @param string $language |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function changeName($name, $language); |
| 28 | 29 | |
@@ -39,6 +40,7 @@ discard block |
||
| 39 | 40 | /** |
| 40 | 41 | * @param string $oldValue |
| 41 | 42 | * @param string $newValue |
| 43 | + * @return void |
|
| 42 | 44 | */ |
| 43 | 45 | public function changeAttributeValue(string $oldValue, string $newValue): void; |
| 44 | 46 | |
@@ -52,11 +54,13 @@ discard block |
||
| 52 | 54 | /** |
| 53 | 55 | * @param string $value |
| 54 | 56 | * @param string $localeCode |
| 57 | + * @return void |
|
| 55 | 58 | */ |
| 56 | 59 | public function addAttributeValue(string $value, string $localeCode): void; |
| 57 | 60 | |
| 58 | 61 | /** |
| 59 | 62 | * @param string $value |
| 63 | + * @return void |
|
| 60 | 64 | */ |
| 61 | 65 | public function deleteAttributeValue(string $value): void; |
| 62 | 66 | } |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * {@inheritdoc} |
| 24 | 24 | */ |
| 25 | - public function setContainer(?ContainerInterface $container = null): void |
|
| 25 | + public function setContainer(?ContainerInterface $container = null) : void |
|
| 26 | 26 | { |
| 27 | 27 | $this->container = $container; |
| 28 | 28 | } |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Bundle\AttributeBundle\Form\Type; |
| 15 | 15 | |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | FormInterface $form, |
| 131 | 131 | AttributeInterface $attribute, |
| 132 | 132 | ?string $localeCode = null |
| 133 | - ): void { |
|
| 133 | + ) : void { |
|
| 134 | 134 | $form->add('value', $this->formTypeRegistry->get($attribute->getType(), 'default'), [ |
| 135 | 135 | 'auto_initialize' => false, |
| 136 | 136 | 'configuration' => $attribute->getConfiguration(), |