diff --git a/src/Selector/Selector.php b/src/Selector/Selector.php index 2c395ed9..dd9c6bd3 100644 --- a/src/Selector/Selector.php +++ b/src/Selector/Selector.php @@ -20,6 +20,6 @@ public static function NOT(SelectorInterface $selector): NotModifier public static function XOR(SelectorInterface ...$selector): XorModifier { - return new XorModifier($selector); + return new XorModifier(...$selector); } }