Completed
Push — master ( 635326...d702e1 )
by
03:02
created
Controller/ResourceController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             return $this->viewHandler->handle($configuration, View::create($resource, 204));
89 89
         }
90 90
 
91
-        $this->flashHelper->addSuccessFlash($configuration, $state ? $path . '_enabled' : $path . '_disabled', $resource);
91
+        $this->flashHelper->addSuccessFlash($configuration, $state ? $path.'_enabled' : $path.'_disabled', $resource);
92 92
 
93 93
         return $this->redirectHandler->redirectToIndex($configuration, $resource);
94 94
     }
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         }
105 105
 
106 106
         if (is_string($ids)) {
107
-            $ids = explode( ',', $ids);
107
+            $ids = explode(',', $ids);
108 108
         }
109 109
 
110 110
         $resources = $this->repository->findBy(array(
Please login to merge, or discard this patch.
DependencyInjection/AbstractResourceConfiguration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
             ->end()
245 245
             ->beforeNormalization()
246 246
             ->ifString()
247
-                ->then(function ($v) {
247
+                ->then(function($v) {
248 248
                     return array(
249 249
                         AbstractResourceConfiguration::DEFAULT_KEY => $v,
250 250
                     );
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
             ->end()
281 281
             ->beforeNormalization()
282 282
             ->ifString()
283
-                ->then(function ($v) {
283
+                ->then(function($v) {
284 284
                     return array(
285 285
                         AbstractResourceConfiguration::DEFAULT_KEY => $v,
286 286
                     );
Please login to merge, or discard this patch.
DependencyInjection/AbstractResourceExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,8 @@
 block discarded – undo
65 65
             $this->registerResources($this->applicationName, $config['driver'], $config['resources'], $container);
66 66
         }
67 67
 
68
-        foreach($config['resources'] as $model => $resource) {
69
-            foreach($resource['classes'] as $key => $class) {
68
+        foreach ($config['resources'] as $model => $resource) {
69
+            foreach ($resource['classes'] as $key => $class) {
70 70
                 if ($key === 'provider') {
71 71
                     $name = sprintf('%s.%s.%s.class', $this->applicationName, $key, $model);
72 72
                     $container->setParameter($name, $class);
Please login to merge, or discard this patch.