Completed
Push — master ( edbd19...e97690 )
by Pavel
04:45
created
Adaptors/Symfony/MappedEntityFormFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @param $className
31
+     * @param string $className
32 32
      *
33 33
      * @return FormInterface
34 34
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace ScayTrase\Api\Cruds\Adaptors\Symfony;
4 4
 
5 5
 use ScayTrase\Api\Cruds\Exception\EntityProcessingException;
6
-use ScayTrase\Api\Cruds\Exception\MapperException;
7 6
 use ScayTrase\Api\Cruds\PropertyMapperInterface;
8 7
 use Symfony\Component\Form\FormFactoryInterface;
9 8
 use Symfony\Component\Form\FormInterface;
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             ->beforeNormalization()
66 66
             ->ifArray()
67 67
             ->then(
68
-                function (array $v) {
68
+                function(array $v) {
69 69
                     if (array_keys($v) !== range(0, count($v) - 1)) {
70 70
                         return $v;
71 71
                     }
@@ -109,9 +109,9 @@  discard block
 block discarded – undo
109 109
             ->defaultNull()
110 110
             ->example('@my_entity.factory')
111 111
             ->info(
112
-                'Service ID implementing ' . PHP_EOL .
113
-                ObjectFactoryInterface::class . PHP_EOL .
114
-                'Defaults to ' . ReflectionConstructorFactory::class
112
+                'Service ID implementing '.PHP_EOL.
113
+                ObjectFactoryInterface::class.PHP_EOL.
114
+                'Defaults to '.ReflectionConstructorFactory::class
115 115
             );
116 116
 
117 117
         $create
@@ -120,9 +120,9 @@  discard block
 block discarded – undo
120 120
             ->defaultNull()
121 121
             ->example('@my_entity.factory')
122 122
             ->info(
123
-                'Service ID implementing ' . PHP_EOL .
124
-                ObjectFactoryInterface::class . PHP_EOL .
125
-                'Defaults to ' . ReflectionConstructorFactory::class
123
+                'Service ID implementing '.PHP_EOL.
124
+                ObjectFactoryInterface::class.PHP_EOL.
125
+                'Defaults to '.ReflectionConstructorFactory::class
126 126
             );
127 127
 
128 128
         $this->configureActionNode($create, 'create');
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
             ->beforeNormalization()
142 142
             ->ifString()
143 143
             ->then(
144
-                function ($v) {
144
+                function($v) {
145 145
                     return [$v];
146 146
                 }
147 147
             )
@@ -176,9 +176,9 @@  discard block
 block discarded – undo
176 176
             ->defaultNull()
177 177
             ->example('@my_entity.factory')
178 178
             ->info(
179
-                'Service ID implementing ' . PHP_EOL .
180
-                ObjectFactoryInterface::class . PHP_EOL .
181
-                'Defaults to ' . ReflectionConstructorFactory::class
179
+                'Service ID implementing '.PHP_EOL.
180
+                ObjectFactoryInterface::class.PHP_EOL.
181
+                'Defaults to '.ReflectionConstructorFactory::class
182 182
             );
183 183
 
184 184
         $this->configureActionNode($update, 'update');
@@ -199,8 +199,8 @@  discard block
 block discarded – undo
199 199
         $parent
200 200
             ->children()
201 201
             ->scalarNode('path')
202
-            ->example('/' . $action)
202
+            ->example('/'.$action)
203 203
             ->info('Action path (prefixed)')
204
-            ->defaultValue('/' . $action);
204
+            ->defaultValue('/'.$action);
205 205
     }
206 206
 }
Please login to merge, or discard this patch.