Completed
Pull Request — master (#490)
by Antoine
04:02
created
src/Bridge/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,13 +154,13 @@
 block discarded – undo
154 154
         }
155 155
 
156 156
         $container->getDefinition('api_platform.metadata.resource.name_collection_factory.yml')->addArgument(
157
-            array_filter($paths, function ($v) {
157
+            array_filter($paths, function($v) {
158 158
                 return preg_match('/\.yml$/', $v);
159 159
             })
160 160
         );
161 161
 
162 162
         $container->getDefinition('api_platform.metadata.resource.name_collection_factory.xml')->addArgument(
163
-            array_filter($paths, function ($v) {
163
+            array_filter($paths, function($v) {
164 164
                 return preg_match('/\.xml$/', $v);
165 165
             })
166 166
         );
Please login to merge, or discard this patch.