@@ -38,7 +38,7 @@ |
||
38 | 38 | */ |
39 | 39 | public function __construct($enabled, $id) |
40 | 40 | { |
41 | - $this->enabled = (bool)$enabled; |
|
41 | + $this->enabled = (bool) $enabled; |
|
42 | 42 | $this->id = $id; |
43 | 43 | } |
44 | 44 |
@@ -61,7 +61,7 @@ |
||
61 | 61 | $helper = $this->getHelper(); |
62 | 62 | |
63 | 63 | if (!$helper->isEnabled()) { |
64 | - return false; |
|
64 | + return false; |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | return $twig->render( |
@@ -60,7 +60,7 @@ |
||
60 | 60 | /** @var GoogleTagManagerHelper $helper */ |
61 | 61 | $helper = $this->getHelper(); |
62 | 62 | |
63 | - if (!$helper->isEnabled()) { |
|
63 | + if ( ! $helper->isEnabled()) { |
|
64 | 64 | return false; |
65 | 65 | } |
66 | 66 |
@@ -30,7 +30,7 @@ |
||
30 | 30 | $configuration = new Configuration(); |
31 | 31 | $config = $this->processConfiguration($configuration, $configs); |
32 | 32 | |
33 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
33 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
34 | 34 | $loader->load('services.yml'); |
35 | 35 | |
36 | 36 | foreach ($config as $name => $node) { |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * file that was distributed with this source code. |
9 | 9 | */ |
10 | 10 | |
11 | -if (!is_file($autoloadFile = __DIR__.'/../vendor/autoload.php')) { |
|
11 | +if ( ! is_file($autoloadFile = __DIR__ . '/../vendor/autoload.php')) { |
|
12 | 12 | throw new \LogicException('Run "composer install" to create autoloader.'); |
13 | 13 | } |
14 | 14 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | */ |
30 | 30 | protected function loadConfiguration(ContainerBuilder $container, $resource) |
31 | 31 | { |
32 | - $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/Fixtures/Yaml/')); |
|
32 | + $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/Fixtures/Yaml/')); |
|
33 | 33 | $loader->load($resource . self::FILE_TYPE); |
34 | 34 | } |
35 | 35 | } |
36 | 36 | \ No newline at end of file |