Completed
Push — 1.3-make-js-behat-faster ( 85e122 )
by Kamil
09:41
created
ChannelBundle/Context/FakeChannel/FakeChannelCodeProviderInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface FakeChannelCodeProviderInterface
19 19
 {
20
+    /**
21
+     * @return string
22
+     */
20 23
     public function getCode(Request $request): ?string;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/OrderRepository.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,7 @@  discard block
 block discarded – undo
16 16
 use Doctrine\ORM\EntityManager;
17 17
 use Doctrine\ORM\Mapping;
18 18
 use Doctrine\ORM\QueryBuilder;
19
+use SyliusLabs\AssociationHydrator\AssociationHydrator;
19 20
 use Sylius\Bundle\OrderBundle\Doctrine\ORM\OrderRepository as BaseOrderRepository;
20 21
 use Sylius\Component\Core\Model\ChannelInterface;
21 22
 use Sylius\Component\Core\Model\CustomerInterface;
@@ -24,7 +25,6 @@  discard block
 block discarded – undo
24 25
 use Sylius\Component\Core\OrderCheckoutStates;
25 26
 use Sylius\Component\Core\OrderPaymentStates;
26 27
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
27
-use SyliusLabs\AssociationHydrator\AssociationHydrator;
28 28
 
29 29
 class OrderRepository extends BaseOrderRepository implements OrderRepositoryInterface
30 30
 {
Please login to merge, or discard this patch.
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.