Completed
Pull Request — master (#311)
by De Cramer
06:47
created
src/eXpansion/Framework/Core/Plugins/Gui/WidgetFactory.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -103,12 +103,12 @@
 block discarded – undo
103 103
         $this->posY = $posY;
104 104
 
105 105
         // Update current widgets.
106
-       foreach ($this->guiHandler->getFactoryManialinks($this) as $manialink) {
107
-           if ($manialink instanceof FmlManialink) {
108
-               $manialink->setPosition($this->posX, $this->posY);
109
-           }
106
+        foreach ($this->guiHandler->getFactoryManialinks($this) as $manialink) {
107
+            if ($manialink instanceof FmlManialink) {
108
+                $manialink->setPosition($this->posX, $this->posY);
109
+            }
110 110
 
111
-           $this->update($manialink->getUserGroup());
112
-       }
111
+            $this->update($manialink->getUserGroup());
112
+        }
113 113
     }
114 114
 }
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/DependencyInjection/eXpansionCoreExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,13 +25,13 @@
 block discarded – undo
25 25
         foreach ($bundles as $bundle) {
26 26
             $reflection = new \ReflectionClass($bundle);
27 27
 
28
-            if (is_file($file = dirname($reflection->getFilename()) . '/Resources/config/expansion_defaults/core_config.yml')) {
28
+            if (is_file($file = dirname($reflection->getFilename()).'/Resources/config/expansion_defaults/core_config.yml')) {
29 29
                 $config = Yaml::parse(file_get_contents(realpath($file)));
30 30
                 $container->prependExtensionConfig('e_xpansion_core', $config['e_xpansion_core']);
31 31
             }
32 32
         }
33 33
 
34
-        if (is_file($file = $container->getParameter('kernel.root_dir') . '/config/expansion.yml')) {
34
+        if (is_file($file = $container->getParameter('kernel.root_dir').'/config/expansion.yml')) {
35 35
             $config = Yaml::parse(file_get_contents(realpath($file)));
36 36
             $container->prependExtensionConfig('e_xpansion_core', $config['e_xpansion_core']);
37 37
         }
Please login to merge, or discard this patch.