Skip to content

Commit acda6b9

Browse files
ISS-33802: remove dead code
1 parent 5da5972 commit acda6b9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/internal/Magento/Framework/App/DeploymentConfig.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,6 @@ private function flattenParams(array $params, ?string $path = null, array &$flat
206206
*/
207207
private function getByKey(?string $key)
208208
{
209-
if ($key === null) {
210-
return $this->flatData ?: null;
211-
}
212209
if (array_key_exists($key, $this->flatData) && $this->flatData[$key] === null) {
213210
return '';
214211
}

0 commit comments

Comments
 (0)