Completed
Push — scalar-types/resource ( 4814fd )
by Kamil
23:02
created
src/Sylius/Bundle/ResourceBundle/Controller/FlashHelperInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
      * @param RequestConfiguration $requestConfiguration
26 26
      * @param string $actionName
27 27
      * @param ResourceInterface|null $resource
28
+     * @return void
28 29
      */
29 30
     public function addSuccessFlash(
30 31
         RequestConfiguration $requestConfiguration,
@@ -35,12 +36,14 @@  discard block
 block discarded – undo
35 36
     /**
36 37
      * @param RequestConfiguration $requestConfiguration
37 38
      * @param string $actionName
39
+     * @return void
38 40
      */
39 41
     public function addErrorFlash(RequestConfiguration $requestConfiguration, string $actionName): void;
40 42
 
41 43
     /**
42 44
      * @param RequestConfiguration $requestConfiguration
43 45
      * @param ResourceControllerEvent $event
46
+     * @return void
44 47
      */
45 48
     public function addFlashFromEvent(RequestConfiguration $requestConfiguration, ResourceControllerEvent $event): void;
46 49
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/StateMachineInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -31,6 +31,7 @@
 block discarded – undo
31 31
     /**
32 32
      * @param RequestConfiguration $configuration
33 33
      * @param ResourceInterface $resource
34
+     * @return void
34 35
      */
35 36
     public function apply(RequestConfiguration $configuration, ResourceInterface $resource): void;
36 37
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/ViewHandlerInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * @param RequestConfiguration $requestConfiguration
26 26
      * @param View $view
27 27
      *
28
-     * @return mixed
28
+     * @return Response
29 29
      */
30 30
     public function handle(RequestConfiguration $requestConfiguration, View $view): Response;
31 31
 }
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/DependencyInjection/Driver/DriverInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param ContainerBuilder $container
26 26
      * @param MetadataInterface $metadata
27
+     * @return void
27 28
      */
28 29
     public function load(ContainerBuilder $container, MetadataInterface $metadata): void;
29 30
 
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/Form/Builder/DefaultFormBuilderInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
      * @param MetadataInterface $metadata
26 26
      * @param FormBuilderInterface $formBuilder
27 27
      * @param array $options
28
+     * @return void
28 29
      */
29 30
     public function build(MetadataInterface $metadata, FormBuilderInterface $formBuilder, array $options): void;
30 31
 }
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/Form/Registry/FormTypeRegistryInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
      * @param string $identifier
23 23
      * @param string $typeIdentifier
24 24
      * @param string $formType
25
+     * @return void
25 26
      */
26 27
     public function add(string $identifier, string $typeIdentifier, string $formType): void;
27 28
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Form/Type/FixedCollectionType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-     * @return callable
74
+     * @return \Closure
75 75
      */
76 76
     private function optionalCallableNormalizer(): callable
77 77
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Validator/DisabledValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @param mixed $value
45
+     * @param ToggleableInterface $value
46 46
      */
47 47
     private function ensureValueImplementsToggleableInterface($value): void
48 48
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Validator/EnabledValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @param mixed $value
45
+     * @param ToggleableInterface $value
46 46
      */
47 47
     private function ensureValueImplementsToggleableInterface($value): void
48 48
     {
Please login to merge, or discard this patch.