Completed
Pull Request — master (#490)
by Antoine
03:22
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.
src/Metadata/Resource/ConfigurationMap.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@  discard block
 block discarded – undo
21 21
     private $configurations;
22 22
 
23 23
     /**
24
-     * @param string[] $classes
25 24
      */
26 25
     public function __construct(array $configurations = [])
27 26
     {
@@ -40,6 +39,9 @@  discard block
 block discarded – undo
40 39
        $this->configurations[$key] = $value;
41 40
     }
42 41
 
42
+    /**
43
+     * @param string $key
44
+     */
43 45
     public function get($key) {
44 46
         return $this->configurations[$key] ?? false;
45 47
     }
Please login to merge, or discard this patch.