Completed
Push — 8.x-1.x ( d2b610...e6231a )
by Fabian
01:16
created
src/ConfigFilterServiceProvider.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,13 +21,11 @@
 block discarded – undo
21 21
     if ($container->hasDefinition('config.storage.sync')) {
22 22
       $original = $container->getDefinition('config.storage.sync');
23 23
       $id = 'config.storage.sync';
24
-    }
25
-    elseif ($container->hasDefinition('config.storage.staging')) {
24
+    } elseif ($container->hasDefinition('config.storage.staging')) {
26 25
       // For Drupal 8.
27 26
       $original = $container->getDefinition('config.storage.staging');
28 27
       $id = 'config.storage.staging';
29
-    }
30
-    else {
28
+    } else {
31 29
       throw new ServiceNotFoundException('config_filter.storage.original', 'config.storage.sync');
32 30
     }
33 31
     // Save the original service so that we can use it in the factory.
Please login to merge, or discard this patch.