Completed
Push — 1.3-extract-fixtures-bundle ( 06f1fa )
by Kamil
605:20 queued 582:17
created
src/Sylius/Bundle/ResourceBundle/Controller/FlashHelperInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -18,13 +18,22 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/ParametersParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/RequestConfiguration.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
456 456
     }
457 457
 
458 458
     /**
459
-     * @return mixed|null
459
+     * @return string
460 460
      */
461 461
     public function getSerializationVersion()
462 462
     {
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/Controller/ResourceDeleteHandlerInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/ResourcesCollectionProvider.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -73,6 +73,7 @@
 block discarded – undo
73 73
 
74 74
     /**
75 75
      * @param int[] $gridLimits
76
+     * @param integer|null $requestLimit
76 77
      */
77 78
     private function resolveMaxPerPage(?int $requestLimit, int $configurationLimit, array $gridLimits = []): int
78 79
     {
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/Controller/ResourceUpdateHandlerInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/StateMachineInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,5 +19,8 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/DependencyInjection/Driver/DriverInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/Form/Builder/DefaultFormBuilderInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.