@@ -29,6 +29,7 @@ discard block |
||
29 | 29 | |
30 | 30 | /** |
31 | 31 | * @param string|null $name |
32 | + * @return void |
|
32 | 33 | */ |
33 | 34 | public function setName(?string $name): void; |
34 | 35 | |
@@ -39,6 +40,7 @@ discard block |
||
39 | 40 | |
40 | 41 | /** |
41 | 42 | * @param string|null $description |
43 | + * @return void |
|
42 | 44 | */ |
43 | 45 | public function setDescription(?string $description): void; |
44 | 46 | } |
@@ -29,6 +29,7 @@ discard block |
||
29 | 29 | |
30 | 30 | /** |
31 | 31 | * @param string|null $name |
32 | + * @return void |
|
32 | 33 | */ |
33 | 34 | public function setName(?string $name): void; |
34 | 35 | |
@@ -39,6 +40,7 @@ discard block |
||
39 | 40 | |
40 | 41 | /** |
41 | 42 | * @param string|null $description |
43 | + * @return void |
|
42 | 44 | */ |
43 | 45 | public function setDescription(?string $description): void; |
44 | 46 | } |
@@ -39,8 +39,8 @@ |
||
39 | 39 | public function getFunctions(): array |
40 | 40 | { |
41 | 41 | return [ |
42 | - new \Twig_Function('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), |
|
43 | - new \Twig_Function('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), |
|
42 | + new \Twig_Function('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), |
|
43 | + new \Twig_Function('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), |
|
44 | 44 | ]; |
45 | 45 | } |
46 | 46 | } |
@@ -22,6 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | /** |
24 | 24 | * @param OutputInterface $output |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function setOutput(OutputInterface $output): void; |
27 | 28 | } |
@@ -25,6 +25,7 @@ |
||
25 | 25 | { |
26 | 26 | /** |
27 | 27 | * @param ArrayNodeDefinition $node |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function buildConfiguration(ArrayNodeDefinition $node): void; |
30 | 31 |
@@ -25,16 +25,19 @@ |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param array $configuration |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function add(array $configuration): void; |
30 | 31 | |
31 | 32 | /** |
32 | 33 | * @param string $themeName |
34 | + * @return void |
|
33 | 35 | */ |
34 | 36 | public function remove(string $themeName): void; |
35 | 37 | |
36 | 38 | /** |
37 | 39 | * Clear currently used configurations storage. |
40 | + * @return void |
|
38 | 41 | */ |
39 | 42 | public function clear(): void; |
40 | 43 | } |
@@ -24,6 +24,7 @@ |
||
24 | 24 | * @param ThemeInterface $theme |
25 | 25 | * |
26 | 26 | * @throws CircularDependencyFoundException |
27 | + * @return void |
|
27 | 28 | */ |
28 | 29 | public function check(ThemeInterface $theme): void; |
29 | 30 | } |
@@ -58,7 +58,7 @@ |
||
58 | 58 | /** |
59 | 59 | * @param string $path |
60 | 60 | * |
61 | - * @return iterable|SplFileInfo[] |
|
61 | + * @return \Symfony\Component\Finder\Finder |
|
62 | 62 | */ |
63 | 63 | private function getFiles(string $path): iterable |
64 | 64 | { |
@@ -24,11 +24,13 @@ |
||
24 | 24 | { |
25 | 25 | /** |
26 | 26 | * @param ReviewableInterface $reviewSubject |
27 | + * @return void |
|
27 | 28 | */ |
28 | 29 | public function update(ReviewableInterface $reviewSubject): void; |
29 | 30 | |
30 | 31 | /** |
31 | 32 | * @param ReviewInterface $review |
33 | + * @return void |
|
32 | 34 | */ |
33 | 35 | public function updateFromReview(ReviewInterface $review): void; |
34 | 36 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ReviewBundle\Updater; |
15 | 15 | |
16 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
17 | 16 | use Sylius\Component\Review\Model\ReviewInterface; |
17 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
18 | 18 | |
19 | 19 | interface ReviewableRatingUpdaterInterface |
20 | 20 | { |