@@ -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); |
@@ -18,5 +18,8 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface ResourceDeleteHandlerInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function handle(ResourceInterface $resource, RepositoryInterface $repository): void; |
| 22 | 25 | } |
@@ -18,6 +18,9 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface ResourceUpdateHandlerInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function handle( |
| 22 | 25 | ResourceInterface $resource, |
| 23 | 26 | RequestConfiguration $requestConfiguration, |
@@ -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)) { |