Completed
Push — 1.3-contributing-code ( 5c1b31...c7ccd1 )
by Kamil
38:33
created
src/Sylius/Bundle/CoreBundle/Remover/ReviewerReviewsRemoverInterface.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 ReviewerReviewsRemoverInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function removeReviewerReviews(ReviewerInterface $author): void;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Security/UserImpersonatorInterface.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 UserImpersonatorInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function impersonate(UserInterface $user): void;
21 24
 }
Please login to merge, or discard this patch.
Bundle/CoreBundle/Validator/Constraints/HasEnabledEntityValidator.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@  discard block
 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
     {
@@ -119,6 +120,7 @@  discard block
 block discarded – undo
119 120
 
120 121
     /**
121 122
      * @throws ConstraintDefinitionException
123
+     * @param ObjectManager|null $objectManager
122 124
      */
123 125
     private function validateObjectManager(?ObjectManager $objectManager, string $exceptionMessage): void
124 126
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/GridBundle/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|null
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/LocaleBundle/Templating/Helper/LocaleHelperInterface.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 LocaleHelperInterface extends HelperInterface
19 19
 {
20
+    /**
21
+     * @return string
22
+     */
20 23
     public function convertCodeToName(string $localeCode): ?string;
21 24
 }
Please login to merge, or discard this patch.
Sylius/Bundle/OrderBundle/NumberAssigner/OrderNumberAssignerInterface.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 OrderNumberAssignerInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function assignNumber(OrderInterface $order): void;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/FlashHelperInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -18,13 +18,22 @@
 block discarded – undo
18 18
 
19 19
 interface FlashHelperInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function addSuccessFlash(
22 25
         RequestConfiguration $requestConfiguration,
23 26
         string $actionName,
24 27
         ?ResourceInterface $resource = null
25 28
     ): void;
26 29
 
30
+    /**
31
+     * @return void
32
+     */
27 33
     public function addErrorFlash(RequestConfiguration $requestConfiguration, string $actionName): void;
28 34
 
35
+    /**
36
+     * @return void
37
+     */
29 38
     public function addFlashFromEvent(RequestConfiguration $requestConfiguration, ResourceControllerEvent $event): void;
30 39
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/ParametersParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@
 block discarded – undo
86 86
         return $this->expression->evaluate($expression, ['container' => $this->container]);
87 87
     }
88 88
 
89
+    /**
90
+     * @param string $parameter
91
+     */
89 92
     private function parseRequestValueTypecast($parameter, Request $request)
90 93
     {
91 94
         [$typecast, $castedValue] = explode(' ', $parameter, 2);
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/RequestConfiguration.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 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
     {
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
     }
457 457
 
458 458
     /**
459
-     * @return mixed|null
459
+     * @return string
460 460
      */
461 461
     public function getSerializationVersion()
462 462
     {
Please login to merge, or discard this patch.