Skip to content

Commit f642956

Browse files
committed
fix another potential notice
1 parent 9f71d90 commit f642956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ protected function hasSelectorPlaceholder($selector)
11281128

11291129
foreach ($selector as $parts) {
11301130
foreach ($parts as $part) {
1131-
if ('%' === $part[0]) {
1131+
if (strlen($part) && '%' === $part[0]) {
11321132
return true;
11331133
}
11341134
}

0 commit comments

Comments
 (0)