@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface UserImpersonatorInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function impersonate(UserInterface $user): void; |
21 | 24 | } |
@@ -95,6 +95,7 @@ discard block |
||
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 |
||
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 | { |
@@ -17,5 +17,8 @@ |
||
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 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface OrderNumberAssignerInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function assignNumber(OrderInterface $order): void; |
21 | 24 | } |
@@ -15,5 +15,8 @@ |
||
15 | 15 | |
16 | 16 | interface ContactEmailManagerInterface |
17 | 17 | { |
18 | + /** |
|
19 | + * @return void |
|
20 | + */ |
|
18 | 21 | public function sendContactRequest(array $data, array $recipients): void; |
19 | 22 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface OrderEmailManagerInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function sendConfirmationEmail(OrderInterface $order): void; |
21 | 24 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface UserReloaderInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function reloadUser(UserInterface $user): void; |
21 | 24 | } |
@@ -17,5 +17,10 @@ |
||
17 | 17 | |
18 | 18 | interface UserLoginInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @param string $firewallName |
|
22 | + * |
|
23 | + * @return void |
|
24 | + */ |
|
20 | 25 | public function login(UserInterface $user, ?string $firewallName = null); |
21 | 26 | } |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * Returns the best matching zone for given address. |
23 | + * @return \Sylius\Component\Core\Model\OrderInterface |
|
23 | 24 | */ |
24 | 25 | public function match(AddressInterface $address, ?string $scope = null): ?ZoneInterface; |
25 | 26 |