@@ -4,7 +4,7 @@ |
||
| 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 | { |
@@ -8,8 +8,9 @@ |
||
| 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() |
@@ -22,7 +22,7 @@ |
||
| 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()); |