Skip to content

Commit 5616f61

Browse files
committed
Remove deprecation warnings
1 parent c824772 commit 5616f61

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)