@@ -40,7 +40,7 @@ |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * @param mixed $value |
|
| 43 | + * @param ToggleableInterface $value |
|
| 44 | 44 | */ |
| 45 | 45 | private function ensureValueImplementsToggleableInterface($value) |
| 46 | 46 | { |
@@ -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 | } |
@@ -14,8 +14,8 @@ |
||
| 14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
| 15 | 15 | use PhpSpec\ObjectBehavior; |
| 16 | 16 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
| 17 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 18 | 17 | use Sylius\Component\Review\Model\ReviewInterface; |
| 18 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * @author Mateusz Zalewski <[email protected]> |
@@ -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 | |
@@ -14,8 +14,8 @@ |
||
| 14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
| 15 | 15 | use PhpSpec\ObjectBehavior; |
| 16 | 16 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
| 17 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 18 | 17 | use Sylius\Component\Review\Model\ReviewInterface; |
| 18 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * @author Mateusz Zalewski <[email protected]> |
@@ -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 | } |
@@ -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 | |
@@ -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 | } |
@@ -41,6 +41,7 @@ discard block |
||
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | 43 | * @param null|TaxonInterface $taxon |
| 44 | + * @return void |
|
| 44 | 45 | */ |
| 45 | 46 | public function setParent(TaxonInterface $taxon = null); |
| 46 | 47 | |
@@ -63,11 +64,13 @@ discard block |
||
| 63 | 64 | |
| 64 | 65 | /** |
| 65 | 66 | * @param TaxonInterface $taxon |
| 67 | + * @return void |
|
| 66 | 68 | */ |
| 67 | 69 | public function addChild(TaxonInterface $taxon); |
| 68 | 70 | |
| 69 | 71 | /** |
| 70 | 72 | * @param TaxonInterface $taxon |
| 73 | + * @return void |
|
| 71 | 74 | */ |
| 72 | 75 | public function removeChild(TaxonInterface $taxon); |
| 73 | 76 | |
@@ -78,6 +81,7 @@ discard block |
||
| 78 | 81 | |
| 79 | 82 | /** |
| 80 | 83 | * @param string $name |
| 84 | + * @return void |
|
| 81 | 85 | */ |
| 82 | 86 | public function setName($name); |
| 83 | 87 | |
@@ -88,6 +92,7 @@ discard block |
||
| 88 | 92 | |
| 89 | 93 | /** |
| 90 | 94 | * @param string $permalink |
| 95 | + * @return void |
|
| 91 | 96 | */ |
| 92 | 97 | public function setPermalink($permalink); |
| 93 | 98 | |
@@ -98,6 +103,7 @@ discard block |
||
| 98 | 103 | |
| 99 | 104 | /** |
| 100 | 105 | * @param int $left |
| 106 | + * @return void |
|
| 101 | 107 | */ |
| 102 | 108 | public function setLeft($left); |
| 103 | 109 | |
@@ -108,6 +114,7 @@ discard block |
||
| 108 | 114 | |
| 109 | 115 | /** |
| 110 | 116 | * @param int $right |
| 117 | + * @return void |
|
| 111 | 118 | */ |
| 112 | 119 | public function setRight($right); |
| 113 | 120 | |
@@ -118,6 +125,7 @@ discard block |
||
| 118 | 125 | |
| 119 | 126 | /** |
| 120 | 127 | * @param int $level |
| 128 | + * @return void |
|
| 121 | 129 | */ |
| 122 | 130 | public function setLevel($level); |
| 123 | 131 | } |
@@ -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 | } |