@@ -18,22 +18,28 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | interface GeneratePageInterface extends SymfonyPageInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function generate(); |
| 22 | 25 | |
| 23 | 26 | /** |
| 24 | 27 | * @param int $nth |
| 25 | 28 | * @param int $price |
| 29 | + * @return void |
|
| 26 | 30 | */ |
| 27 | 31 | public function specifyPrice($nth, $price); |
| 28 | 32 | |
| 29 | 33 | /** |
| 30 | 34 | * @param int $nth |
| 31 | 35 | * @param string $code |
| 36 | + * @return void |
|
| 32 | 37 | */ |
| 33 | 38 | public function nameCode($nth, $code); |
| 34 | 39 | |
| 35 | 40 | /** |
| 36 | 41 | * @param int $nth |
| 42 | + * @return void |
|
| 37 | 43 | */ |
| 38 | 44 | public function removeVariant($nth); |
| 39 | 45 | |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | { |
| 50 | 50 | foreach ($variant->getOptionValues() as $option) { |
| 51 | 51 | if (!$existingVariant->hasOptionValue($option)) { |
| 52 | - return false; |
|
| 52 | + return false; |
|
| 53 | 53 | } |
| 54 | 54 | } |
| 55 | 55 | |