Completed
Push — 1.4-refresh-behat-guide ( 4e6af6...12ea46 )
by Kamil
12:35
created
Bundle/CoreBundle/Validator/Constraints/HasEnabledEntityValidator.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@
 block discarded – undo
95 95
 
96 96
     /**
97 97
      * @param object $entity
98
+     * @param string|null $manager
98 99
      */
99 100
     private function getProperObjectManager(?string $manager, $entity): ?ObjectManager
100 101
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/GridBundle/Form/Registry/FormTypeRegistryInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
 
16 16
 interface FormTypeRegistryInterface
17 17
 {
18
+    /**
19
+     * @return void
20
+     */
18 21
     public function add(string $identifier, string $typeIdentifier, string $formType): void;
19 22
 
20 23
     public function get(string $identifier, string $typeIdentifier): ?string;
Please login to merge, or discard this patch.
PromotionBundle/Form/Type/AbstractConfigurablePromotionElementType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -93,6 +93,9 @@
 block discarded – undo
93 93
         ]);
94 94
     }
95 95
 
96
+    /**
97
+     * @return string
98
+     */
96 99
     protected function getRegistryIdentifier(FormInterface $form, $data = null): ?string
97 100
     {
98 101
         if ($data instanceof ConfigurablePromotionElementInterface && null !== $data->getType()) {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/RequestConfiguration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
     /**
158 158
      * @param string $name
159 159
      *
160
-     * @return mixed|string|null
160
+     * @return string
161 161
      */
162 162
     public function getRedirectRoute($name)
163 163
     {
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/Form/Registry/FormTypeRegistryInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,8 +15,14 @@
 block discarded – undo
15 15
 
16 16
 interface FormTypeRegistryInterface
17 17
 {
18
+    /**
19
+     * @return void
20
+     */
18 21
     public function add(string $identifier, string $typeIdentifier, string $formType): void;
19 22
 
23
+    /**
24
+     * @return string
25
+     */
20 26
     public function get(string $identifier, string $typeIdentifier): ?string;
21 27
 
22 28
     public function has(string $identifier, string $typeIdentifier): bool;
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Provider/AbstractUserProvider.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -91,6 +91,7 @@
 block discarded – undo
91 91
 
92 92
     /**
93 93
      * {@inheritdoc}
94
+     * @param string $class
94 95
      */
95 96
     public function supportsClass($class): bool
96 97
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Matcher/ZoneMatcher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -116,6 +116,9 @@
 block discarded – undo
116 116
         return $this->zoneRepository->findBy(['scope' => [$scope, Scope::ALL]]);
117 117
     }
118 118
 
119
+    /**
120
+     * @return AddressInterface
121
+     */
119 122
     private function getZoneByCode(string $code): ?ZoneInterface
120 123
     {
121 124
         return $this->zoneRepository->findOneBy(['code' => $code]);
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/CountryInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -29,8 +29,14 @@
 block discarded – undo
29 29
 
30 30
     public function hasProvinces(): bool;
31 31
 
32
+    /**
33
+     * @return void
34
+     */
32 35
     public function addProvince(ProvinceInterface $province): void;
33 36
 
37
+    /**
38
+     * @return void
39
+     */
34 40
     public function removeProvince(ProvinceInterface $province): void;
35 41
 
36 42
     public function hasProvince(ProvinceInterface $province): bool;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ChannelPricingInterface.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -17,12 +17,24 @@  discard block
 block discarded – undo
17 17
 
18 18
 interface ChannelPricingInterface extends ResourceInterface
19 19
 {
20
+    /**
21
+     * @return ProductVariantInterface
22
+     */
20 23
     public function getProductVariant(): ?ProductVariantInterface;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function setProductVariant(?ProductVariantInterface $productVariant): void;
23 29
 
30
+    /**
31
+     * @return integer
32
+     */
24 33
     public function getPrice(): ?int;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function setPrice(?int $price): void;
27 39
 
28 40
     /**
@@ -30,10 +42,19 @@  discard block
 block discarded – undo
30 42
      */
31 43
     public function getChannelCode(): ?string;
32 44
 
45
+    /**
46
+     * @return void
47
+     */
33 48
     public function setChannelCode(?string $channelCode): void;
34 49
 
50
+    /**
51
+     * @return integer
52
+     */
35 53
     public function getOriginalPrice(): ?int;
36 54
 
55
+    /**
56
+     * @return void
57
+     */
37 58
     public function setOriginalPrice(?int $originalPrice): void;
38 59
 
39 60
     public function isPriceReduced(): bool;
Please login to merge, or discard this patch.