Completed
Push — master ( f99663...256003 )
by Adam
08:28
created
ViewModel/ViewModelNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 class ViewModelNode implements \ArrayAccess
6 6
 {
7
-    static private $plurals =array();
7
+    static private $plurals = array();
8 8
 
9 9
     public static function addPlural($singular, $plural)
10 10
     {
Please login to merge, or discard this patch.
Services/ViewModelService.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,9 @@
 block discarded – undo
8 8
 {
9 9
     public function __construct($irregularPlurals = array())
10 10
     {
11
-        foreach ($irregularPlurals as $singular => $plural)
12
-            ViewModelNode::addPlural($singular, $plural);
11
+        foreach ($irregularPlurals as $singular => $plural) {
12
+                    ViewModelNode::addPlural($singular, $plural);
13
+        }
13 14
     }
14 15
 
15 16
     public function createViewModel()
Please login to merge, or discard this patch.
DependencyInjection/gotakkViewModelExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $configuration = new Configuration();
23 23
         $config = $this->processConfiguration($configuration, $configs);
24 24
 
25
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
25
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
26 26
         $loader->load('services.yml');
27 27
 
28 28
         $container->setParameter('gotakk.view_model.irregular_plurals.parameter', array());
Please login to merge, or discard this patch.