Passed
Pull Request — master (#1093)
by butschster
20:45
created
src/Tokenizer/src/Bootloader/TokenizerBootloader.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,14 +124,16 @@
 block discarded – undo
124 124
 
125 125
     private function ensureScopeExists(string $scope, string $section): void
126 126
     {
127
-        if (!isset($this->config->getConfig(TokenizerConfig::CONFIG)['scopes'])) {
127
+        if (!isset($this->config->getConfig(TokenizerConfig::CONFIG)['scopes']))
128
+        {
128 129
             $this->config->modify(
129 130
                 TokenizerConfig::CONFIG,
130 131
                 new Set('scopes', []),
131 132
             );
132 133
         }
133 134
 
134
-        if (!isset($this->config->getConfig(TokenizerConfig::CONFIG)['scopes'][$scope])) {
135
+        if (!isset($this->config->getConfig(TokenizerConfig::CONFIG)['scopes'][$scope]))
136
+        {
135 137
             $this->config->modify(
136 138
                 TokenizerConfig::CONFIG,
137 139
                 new Append('scopes', $scope, [$section => []]),
Please login to merge, or discard this patch.