Skip to content

Commit bed0e0d

Browse files
Update configuration validation to support root_sass paths defined with keys
1 parent 1a1ef33 commit bed0e0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/SymfonycastsSassExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function getConfigTreeBuilder(): TreeBuilder
6161
->end()
6262
->validate()
6363
->ifTrue(static function (array $paths): bool {
64-
if (1 === \count($paths)) {
64+
if (1 === \count($paths) || !\array_is_list($paths)) {
6565
return false;
6666
}
6767

0 commit comments

Comments
 (0)