Skip to content

Commit 08191cc

Browse files
authored
Update ConfigProvider.php
1 parent 33fbdf1 commit 08191cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ConfigProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ class ConfigProvider
1515
public function __invoke(): array
1616
{
1717
$array = [self::dependencies => array_filter(
18-
$this->getDependencies(), static fn($v) => $v != null)
19-
];
18+
$this->getDependencies(), static fn($v) => !empty($v)
19+
)];
2020

2121
return ($cfg = $this->getConfig()) !== [] ? array_merge($array, $cfg) : $array;
2222
}

0 commit comments

Comments
 (0)