Completed
Push — master ( 4b3a4b...bcaa3c )
by
03:25
created
DependencyInjection/AbstractResourceConfiguration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
             ->end()
196 196
             ->beforeNormalization()
197 197
             ->ifString()
198
-                ->then(function ($v) {
198
+                ->then(function($v) {
199 199
                     return array(
200 200
                         AbstractResourceConfiguration::DEFAULT_KEY => $v,
201 201
                     );
Please login to merge, or discard this patch.
DependencyInjection/AbstractResourceExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@  discard block
 block discarded – undo
62 62
 
63 63
         $interfaces = array();
64 64
 
65
-        foreach($config['resources'] as $model => $resource) {
66
-            foreach($resource['classes'] as $key => $class) {
65
+        foreach ($config['resources'] as $model => $resource) {
66
+            foreach ($resource['classes'] as $key => $class) {
67 67
                 if ($key === 'interface') {
68 68
                     $name = sprintf('%s.%s.%s.class', $this->applicationName, $key, $model);
69 69
                     $container->setParameter($name, $class);
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
             }
74 74
         }
75 75
 
76
-        $container->setParameter($this->getAlias() . '_interfaces', $interfaces);
76
+        $container->setParameter($this->getAlias().'_interfaces', $interfaces);
77 77
 
78 78
         foreach ($this->configFiles as $configFile) {
79 79
             if (file_exists(sprintf('%s/%s', $this->getConfigDir(), $configFile))) {
Please login to merge, or discard this patch.
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.