Skip to content

Commit eb19d64

Browse files
bug #967 Remove deprecation warnings (maxhelias)
This PR was merged into the 1.x branch. Discussion ---------- Remove deprecation warnings Fix #966 Commits ------- 5616f61 Remove deprecation warnings
2 parents 8297133 + 5616f61 commit eb19d64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Configurator/DockerComposeConfigurator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,9 @@ private function getContentsAfterApplyingRecipe(string $rootDir, Recipe $recipe,
315315
return [];
316316
}
317317

318-
$files = array_map(function ($file) use ($rootDir) {
318+
$files = array_filter(array_map(function ($file) use ($rootDir) {
319319
return $this->findDockerComposeFile($rootDir, $file);
320-
}, array_keys($config));
320+
}, array_keys($config)));
321321

322322
$originalContents = [];
323323
foreach ($files as $file) {

0 commit comments

Comments
 (0)