@@ -124,14 +124,16 @@ |
||
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 => []]), |