Skip to content

Commit c8faf8b

Browse files
committed
phpcs
1 parent 8920a8a commit c8faf8b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Security/SecurityConfigUpdater.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,6 @@ private function isSingleInMemoryProviderConfigured(): bool
158158

159159
$firstProviderConfig = array_values($providersConfig)[0];
160160

161-
return array_key_exists('memory', $firstProviderConfig);
161+
return \array_key_exists('memory', $firstProviderConfig);
162162
}
163163
}

src/Util/YamlSourceManipulator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ private function updateData(array $newData)
153153
$this->log('START key', true);
154154

155155
// 1) was this key removed from the new data?
156-
if (!array_key_exists($key, $newData)) {
156+
if (!\array_key_exists($key, $newData)) {
157157
$this->log('Removing key');
158158
$this->removeKeyFromYaml($key, $currentData[$key]);
159159

@@ -682,7 +682,7 @@ private function setValueAtCurrentPath($value, array $data, int $limitLevels = 0
682682
$depth = $limitLevels;
683683
$path = \array_slice($this->currentPath, 0, \count($this->currentPath) - $limitLevels);
684684
foreach ($path as $key) {
685-
if (!array_key_exists($key, $dataRef)) {
685+
if (!\array_key_exists($key, $dataRef)) {
686686
throw new \LogicException(sprintf('Could not find the key "%s" from the current path "%s" in data "%s"', $key, implode(', ', $path), var_export($data, true)));
687687
}
688688

@@ -731,7 +731,7 @@ private function getCurrentData(int $limitLevels = 0)
731731
$data = $this->currentData;
732732
$path = \array_slice($this->currentPath, 0, \count($this->currentPath) - $limitLevels);
733733
foreach ($path as $key) {
734-
if (!array_key_exists($key, $data)) {
734+
if (!\array_key_exists($key, $data)) {
735735
throw new \LogicException(sprintf('Could not find the key "%s" from the current path "%s" in data "%s"', $key, implode(', ', $path), var_export($this->currentData, true)));
736736
}
737737

0 commit comments

Comments
 (0)