Skip to content

Commit d5d9f4c

Browse files
authored
Merge pull request #26 from umulmrum/master
Fix bracket for count() argument
2 parents 9580f54 + 13ed8e0 commit d5d9f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CssMin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@ public function apply(array &$tokens)
24092409
$import[$ii]->MediaTypes = $tokens[$i]->MediaTypes;
24102410
}
24112411
// @import at-rule defineds one or more media types; filter out media types not matching with the parent @import at-rule
2412-
elseif (count($import[$ii]->MediaTypes > 0))
2412+
elseif (count($import[$ii]->MediaTypes) > 0)
24132413
{
24142414
foreach ($import[$ii]->MediaTypes as $index => $mediaType)
24152415
{

0 commit comments

Comments
 (0)