@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param OptionInterface $option |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setOption(OptionInterface $option = null); |
32 | 33 | |
@@ -41,6 +42,7 @@ discard block |
||
41 | 42 | * Set internal value. |
42 | 43 | * |
43 | 44 | * @param string $value |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function setValue($value); |
46 | 48 |
@@ -27,6 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param string $value |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setValue($value); |
32 | 33 | } |
@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param OptionInterface $option |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setOption(OptionInterface $option = null); |
32 | 33 | |
@@ -41,6 +42,7 @@ discard block |
||
41 | 42 | * Set internal value. |
42 | 43 | * |
43 | 44 | * @param string $value |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function setValue($value); |
46 | 48 |
@@ -39,6 +39,7 @@ discard block |
||
39 | 39 | * Sets all option values. |
40 | 40 | * |
41 | 41 | * @param Collection $optionValues |
42 | + * @return void |
|
42 | 43 | */ |
43 | 44 | public function setValues(Collection $optionValues); |
44 | 45 | |
@@ -46,6 +47,7 @@ discard block |
||
46 | 47 | * Adds option value. |
47 | 48 | * |
48 | 49 | * @param OptionValueInterface $optionValue |
50 | + * @return void |
|
49 | 51 | */ |
50 | 52 | public function addValue(OptionValueInterface $optionValue); |
51 | 53 | |
@@ -53,6 +55,7 @@ discard block |
||
53 | 55 | * Removes option value. |
54 | 56 | * |
55 | 57 | * @param OptionValueInterface $optionValue |
58 | + * @return void |
|
56 | 59 | */ |
57 | 60 | public function removeValue(OptionValueInterface $optionValue); |
58 | 61 |
@@ -22,16 +22,19 @@ discard block |
||
22 | 22 | { |
23 | 23 | /** |
24 | 24 | * @param string $code |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function specifyCode($code); |
27 | 28 | |
28 | 29 | /** |
29 | 30 | * @param string $name |
31 | + * @return void |
|
30 | 32 | */ |
31 | 33 | public function nameIt($name); |
32 | 34 | |
33 | 35 | /** |
34 | 36 | * @param string $ruleName |
37 | + * @return void |
|
35 | 38 | */ |
36 | 39 | public function addRule($ruleName); |
37 | 40 | |
@@ -39,17 +42,20 @@ discard block |
||
39 | 42 | * @param string $option |
40 | 43 | * @param string $value |
41 | 44 | * @param bool $multiple |
45 | + * @return void |
|
42 | 46 | */ |
43 | 47 | public function selectRuleOption($option, $value, $multiple = false); |
44 | 48 | |
45 | 49 | /** |
46 | 50 | * @param string $option |
47 | 51 | * @param string $value |
52 | + * @return void |
|
48 | 53 | */ |
49 | 54 | public function fillRuleOption($option, $value); |
50 | 55 | |
51 | 56 | /** |
52 | 57 | * @param string $actionName |
58 | + * @return void |
|
53 | 59 | */ |
54 | 60 | public function addAction($actionName); |
55 | 61 | |
@@ -57,36 +63,48 @@ discard block |
||
57 | 63 | * @param string $option |
58 | 64 | * @param string $value |
59 | 65 | * @param bool $multiple |
66 | + * @return void |
|
60 | 67 | */ |
61 | 68 | public function selectActionOption($option, $value, $multiple = false); |
62 | 69 | |
63 | 70 | /** |
64 | 71 | * @param string $option |
65 | 72 | * @param string $value |
73 | + * @return void |
|
66 | 74 | */ |
67 | 75 | public function fillActionOption($option, $value); |
68 | 76 | |
69 | 77 | /** |
70 | 78 | * @param string $limit |
79 | + * @return void |
|
71 | 80 | */ |
72 | 81 | public function fillUsageLimit($limit); |
73 | 82 | |
83 | + /** |
|
84 | + * @return void |
|
85 | + */ |
|
74 | 86 | public function makeExclusive(); |
75 | 87 | |
88 | + /** |
|
89 | + * @return void |
|
90 | + */ |
|
76 | 91 | public function checkCouponBased(); |
77 | 92 | |
78 | 93 | /** |
79 | 94 | * @param string $name |
95 | + * @return void |
|
80 | 96 | */ |
81 | 97 | public function checkChannel($name); |
82 | 98 | |
83 | 99 | /** |
84 | 100 | * @param \DateTime $dateTime |
101 | + * @return void |
|
85 | 102 | */ |
86 | 103 | public function setStartsAt(\DateTime $dateTime); |
87 | 104 | |
88 | 105 | /** |
89 | 106 | * @param \DateTime $dateTime |
107 | + * @return void |
|
90 | 108 | */ |
91 | 109 | public function setEndsAt(\DateTime $dateTime); |
92 | 110 | |
@@ -101,6 +119,7 @@ discard block |
||
101 | 119 | * @param string $option |
102 | 120 | * @param string $value |
103 | 121 | * @param bool $multiple |
122 | + * @return void |
|
104 | 123 | */ |
105 | 124 | public function selectFilterOption($option, $value, $multiple = false); |
106 | 125 | } |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Bundle\ReviewBundle\Validator\Constraints; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\UserBundle\Doctrine\ORM\UserRepository; |
15 | -use Sylius\Component\Core\Model\AdminUserInterface; |
|
16 | 15 | use Sylius\Component\Review\Model\ReviewerInterface; |
17 | 16 | use Sylius\Component\User\Model\UserInterface; |
18 | 17 | use Sylius\Component\User\Repository\UserRepositoryInterface; |
@@ -27,6 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param string $value |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setValue($value); |
32 | 33 | } |
@@ -36,11 +36,13 @@ discard block |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @param string $locale |
39 | + * @return void |
|
39 | 40 | */ |
40 | 41 | public function setCurrentLocale($locale); |
41 | 42 | |
42 | 43 | /** |
43 | 44 | * @param string $locale |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function setFallbackLocale($locale); |
46 | 48 | |
@@ -51,11 +53,13 @@ discard block |
||
51 | 53 | |
52 | 54 | /** |
53 | 55 | * @param TranslationInterface $translation |
56 | + * @return void |
|
54 | 57 | */ |
55 | 58 | public function addTranslation(TranslationInterface $translation); |
56 | 59 | |
57 | 60 | /** |
58 | 61 | * @param TranslationInterface $translation |
62 | + * @return void |
|
59 | 63 | */ |
60 | 64 | public function removeTranslation(TranslationInterface $translation); |
61 | 65 | } |
@@ -60,7 +60,7 @@ |
||
60 | 60 | { |
61 | 61 | /** @var ChoiceView $choice */ |
62 | 62 | foreach ($view->vars['choices'] as $choice) { |
63 | - $choice->label = str_repeat('— ', $choice->data->getLevel()).$choice->label; |
|
63 | + $choice->label = str_repeat('— ', $choice->data->getLevel()) . $choice->label; |
|
64 | 64 | } |
65 | 65 | } |
66 | 66 |