@@ -29,13 +29,18 @@ |
||
29 | 29 | |
30 | 30 | /** |
31 | 31 | * @param string $key |
32 | + * @return void |
|
32 | 33 | */ |
33 | 34 | public function set($key, $resource); |
34 | 35 | |
36 | + /** |
|
37 | + * @return string |
|
38 | + */ |
|
35 | 39 | public function getLatestResource(); |
36 | 40 | |
37 | 41 | /** |
38 | 42 | * @throws \RuntimeException |
43 | + * @return void |
|
39 | 44 | */ |
40 | 45 | public function setClipboard(array $clipboard); |
41 | 46 | } |
@@ -67,6 +67,9 @@ |
||
67 | 67 | ); |
68 | 68 | } |
69 | 69 | |
70 | + /** |
|
71 | + * @return ChannelInterface |
|
72 | + */ |
|
70 | 73 | private function findChannelByCodeOrFindFirst(?string $channelCode): ?ChannelInterface |
71 | 74 | { |
72 | 75 | $channel = null; |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface ShipmentEmailManagerInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function sendConfirmationEmail(ShipmentInterface $shipment): void; |
21 | 24 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface FakeChannelCodeProviderInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return string|null |
|
22 | + */ |
|
20 | 23 | public function getCode(Request $request): ?string; |
21 | 24 | } |
@@ -18,5 +18,8 @@ |
||
18 | 18 | |
19 | 19 | interface IpAssignerInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function assign(OrderInterface $order, Request $request): void; |
22 | 25 | } |
@@ -18,5 +18,8 @@ |
||
18 | 18 | |
19 | 19 | interface ChannelSetupInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function setup(LocaleInterface $locale, CurrencyInterface $currency): void; |
22 | 25 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface ReviewerReviewsRemoverInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function removeReviewerReviews(ReviewerInterface $author): void; |
21 | 24 | } |
@@ -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 | { |