Completed
Push — master ( 8d569d...b1ad3a )
by Zbigniew
05:27
created
DependencyInjection/ZibiosWrikeExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             $container->setParameter(sprintf('zibios_wrike.%s', $key), $value);
43 43
         }
44 44
 
45
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
45
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
46 46
         $loader->load('services.xml');
47 47
 
48 48
         $this->addPermanentTokenAppDefinitions($config, $container);
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         $rootNode
48 48
             ->beforeNormalization()
49 49
                 ->always(
50
-                    function ($v) {
50
+                    function($v) {
51 51
                         return (array) $v;
52 52
                     }
53 53
                 )
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             ->children()
89 89
                 ->arrayNode('permanent_tokens')
90 90
                     ->validate()
91
-                        ->ifTrue(function ($v) {
91
+                        ->ifTrue(function($v) {
92 92
                             return
93 93
                                 array_key_exists('default_token', $v) &&
94 94
                                 (
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
                     ->children()
111 111
                         ->arrayNode('tokens')
112 112
                             ->validate()
113
-                                ->ifTrue(function ($v) {
113
+                                ->ifTrue(function($v) {
114 114
                                     /* @var array $v*/
115 115
                                     foreach ($v as $key => $value) {
116 116
                                         if (is_string($key) && strlen($key) > 0) {
Please login to merge, or discard this patch.