@@ -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 | { |
@@ -15,8 +15,14 @@ |
||
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; |
@@ -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 | } |
@@ -18,13 +18,22 @@ |
||
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 | } |
@@ -86,6 +86,9 @@ |
||
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); |
@@ -157,7 +157,7 @@ discard block |
||
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 |
||
456 | 456 | } |
457 | 457 | |
458 | 458 | /** |
459 | - * @return mixed|null |
|
459 | + * @return string |
|
460 | 460 | */ |
461 | 461 | public function getSerializationVersion() |
462 | 462 | { |