@@ -40,6 +40,7 @@ discard block |
||
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * @param null|TaxonInterface $taxon |
| 43 | + * @return void |
|
| 43 | 44 | */ |
| 44 | 45 | public function setParent(TaxonInterface $taxon = null); |
| 45 | 46 | |
@@ -67,11 +68,13 @@ discard block |
||
| 67 | 68 | |
| 68 | 69 | /** |
| 69 | 70 | * @param TaxonInterface $taxon |
| 71 | + * @return void |
|
| 70 | 72 | */ |
| 71 | 73 | public function addChild(TaxonInterface $taxon); |
| 72 | 74 | |
| 73 | 75 | /** |
| 74 | 76 | * @param TaxonInterface $taxon |
| 77 | + * @return void |
|
| 75 | 78 | */ |
| 76 | 79 | public function removeChild(TaxonInterface $taxon); |
| 77 | 80 | |
@@ -82,6 +85,7 @@ discard block |
||
| 82 | 85 | |
| 83 | 86 | /** |
| 84 | 87 | * @param string $name |
| 88 | + * @return void |
|
| 85 | 89 | */ |
| 86 | 90 | public function setName($name); |
| 87 | 91 | |
@@ -92,6 +96,7 @@ discard block |
||
| 92 | 96 | |
| 93 | 97 | /** |
| 94 | 98 | * @param string $description |
| 99 | + * @return void |
|
| 95 | 100 | */ |
| 96 | 101 | public function setDescription($description); |
| 97 | 102 | |
@@ -102,6 +107,7 @@ discard block |
||
| 102 | 107 | |
| 103 | 108 | /** |
| 104 | 109 | * @param int $left |
| 110 | + * @return void |
|
| 105 | 111 | */ |
| 106 | 112 | public function setLeft($left); |
| 107 | 113 | |
@@ -112,6 +118,7 @@ discard block |
||
| 112 | 118 | |
| 113 | 119 | /** |
| 114 | 120 | * @param int $right |
| 121 | + * @return void |
|
| 115 | 122 | */ |
| 116 | 123 | public function setRight($right); |
| 117 | 124 | |
@@ -122,6 +129,7 @@ discard block |
||
| 122 | 129 | |
| 123 | 130 | /** |
| 124 | 131 | * @param int $level |
| 132 | + * @return void |
|
| 125 | 133 | */ |
| 126 | 134 | public function setLevel($level); |
| 127 | 135 | |
@@ -132,6 +140,7 @@ discard block |
||
| 132 | 140 | |
| 133 | 141 | /** |
| 134 | 142 | * @param int $position |
| 143 | + * @return void |
|
| 135 | 144 | */ |
| 136 | 145 | public function setPosition($position); |
| 137 | 146 | } |
@@ -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\Component\Product\Model; |
| 15 | 15 | |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | /** |
| 101 | 101 | * @param string $code |
| 102 | 102 | */ |
| 103 | - public function setCode(?string $code): void |
|
| 103 | + public function setCode(?string $code) : void |
|
| 104 | 104 | { |
| 105 | 105 | $this->code = $code; |
| 106 | 106 | } |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | /** |
| 133 | 133 | * {@inheritdoc} |
| 134 | 134 | */ |
| 135 | - public function setSlug(?string $slug): void |
|
| 135 | + public function setSlug(?string $slug) : void |
|
| 136 | 136 | { |
| 137 | 137 | $this->getTranslation()->setSlug($slug); |
| 138 | 138 | } |
@@ -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\Component\Product\Model; |
| 15 | 15 | |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | /** |
| 86 | 86 | * {@inheritdoc} |
| 87 | 87 | */ |
| 88 | - public function setSlug(?string $slug): void |
|
| 88 | + public function setSlug(?string $slug) : void |
|
| 89 | 89 | { |
| 90 | 90 | $this->slug = $slug; |
| 91 | 91 | } |
@@ -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\Component\Core\Model; |
| 15 | 15 | |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | /** |
| 37 | 37 | * {@inheritdoc} |
| 38 | 38 | */ |
| 39 | - public function setVersion(?int $version): void |
|
| 39 | + public function setVersion(?int $version) : void |
|
| 40 | 40 | { |
| 41 | 41 | $this->version = $version; |
| 42 | 42 | } |
@@ -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\Component\Core\Model; |
| 15 | 15 | |
@@ -109,10 +109,10 @@ discard block |
||
| 109 | 109 | $string .= '('; |
| 110 | 110 | |
| 111 | 111 | foreach ($this->getOptionValues() as $option) { |
| 112 | - $string .= $option->getOption()->getName().': '.$option->getValue().', '; |
|
| 112 | + $string .= $option->getOption()->getName() . ': ' . $option->getValue() . ', '; |
|
| 113 | 113 | } |
| 114 | 114 | |
| 115 | - $string = substr($string, 0, -2).')'; |
|
| 115 | + $string = substr($string, 0, -2) . ')'; |
|
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | return $string; |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | /** |
| 130 | 130 | * {@inheritdoc} |
| 131 | 131 | */ |
| 132 | - public function setVersion(?int $version): void |
|
| 132 | + public function setVersion(?int $version) : void |
|
| 133 | 133 | { |
| 134 | 134 | $this->version = $version; |
| 135 | 135 | } |
@@ -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\Component\Taxonomy\Model; |
| 15 | 15 | |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | /** |
| 107 | 107 | * {@inheritdoc} |
| 108 | 108 | */ |
| 109 | - public function setCode(?string $code): void |
|
| 109 | + public function setCode(?string $code) : void |
|
| 110 | 110 | { |
| 111 | 111 | $this->code = $code; |
| 112 | 112 | } |
@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | /** |
| 242 | 242 | * {@inheritdoc} |
| 243 | 243 | */ |
| 244 | - public function setSlug(?string $slug): void |
|
| 244 | + public function setSlug(?string $slug) : void |
|
| 245 | 245 | { |
| 246 | 246 | $this->getTranslation()->setSlug($slug); |
| 247 | 247 | } |
@@ -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\Component\Taxonomy\Model; |
| 15 | 15 | |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | /** |
| 84 | 84 | * {@inheritdoc} |
| 85 | 85 | */ |
| 86 | - public function setSlug(?string $slug): void |
|
| 86 | + public function setSlug(?string $slug) : void |
|
| 87 | 87 | { |
| 88 | 88 | $this->slug = $slug; |
| 89 | 89 | } |
@@ -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\ResourceBundle\Doctrine\ODM\MongoDB; |
| 15 | 15 | |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | * |
| 80 | 80 | * @return array |
| 81 | 81 | */ |
| 82 | - public function findBy(array $criteria, ?array $sorting = null, $limit = null, $offset = null) |
|
| 82 | + public function findBy(array $criteria, ? array $sorting = null, $limit = null, $offset = null) |
|
| 83 | 83 | { |
| 84 | 84 | $queryBuilder = $this->getCollectionQueryBuilder(); |
| 85 | 85 | |