@@ -19,5 +19,8 @@ |
||
19 | 19 | { |
20 | 20 | public function can(RequestConfiguration $configuration, ResourceInterface $resource): bool; |
21 | 21 | |
22 | + /** |
|
23 | + * @return void |
|
24 | + */ |
|
22 | 25 | public function apply(RequestConfiguration $configuration, ResourceInterface $resource): void; |
23 | 26 | } |
@@ -18,6 +18,9 @@ |
||
18 | 18 | |
19 | 19 | interface DriverInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function load(ContainerBuilder $container, MetadataInterface $metadata): void; |
22 | 25 | |
23 | 26 | /** |
@@ -18,5 +18,8 @@ |
||
18 | 18 | |
19 | 19 | interface DefaultFormBuilderInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function build(MetadataInterface $metadata, FormBuilderInterface $formBuilder, array $options): void; |
22 | 25 | } |
@@ -42,6 +42,9 @@ |
||
42 | 42 | } |
43 | 43 | } |
44 | 44 | |
45 | + /** |
|
46 | + * @param ToggleableInterface $value |
|
47 | + */ |
|
45 | 48 | private function ensureValueImplementsToggleableInterface($value): void |
46 | 49 | { |
47 | 50 | if (!($value instanceof ToggleableInterface)) { |
@@ -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 |