Completed
Push — master ( 60f5be...0d3c0c )
by Kamil
24:02
created
src/Sylius/Bundle/ResourceBundle/DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     private function addDriversSection(ArrayNodeDefinition $node)
40 40
     {
41 41
         // determine which drivers are distributed with this bundle
42
-        $driverDir = __DIR__ . '/../Resources/config/driver';
42
+        $driverDir = __DIR__.'/../Resources/config/driver';
43 43
         $iterator = new \RecursiveDirectoryIterator($driverDir);
44 44
         foreach (new \RecursiveIteratorIterator($iterator) as $file) {
45 45
             if ($file->getExtension() !== 'xml') {
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                 ->arrayNode('drivers')
57 57
                     ->info('Enable drivers which are distributed with this bundle')
58 58
                     ->validate()
59
-                    ->ifTrue(function ($value) use ($validDrivers) { 
59
+                    ->ifTrue(function($value) use ($validDrivers) { 
60 60
                         return 0 !== count(array_diff($value, $validDrivers)); 
61 61
                     })
62 62
                         ->thenInvalid(sprintf('Invalid driver specified in %%s, valid drivers: ["%s"]', implode('", "', $validDrivers)))
Please login to merge, or discard this patch.