We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db81d31 commit 3104219Copy full SHA for 3104219
src/Property/Selector.php
@@ -41,7 +41,8 @@ class Selector implements Renderable
41
*/
42
public static function isValid(string $selector): bool
43
{
44
- $numberOfMatches = \preg_match(self::SELECTOR_VALIDATION_RX, $selector);
+ // Note: We need to use `static::` here as the constant is overridden in the `KeyframeSelector` class.
45
+ $numberOfMatches = \preg_match(static::SELECTOR_VALIDATION_RX, $selector);
46
47
return $numberOfMatches === 1;
48
}
0 commit comments