Skip to content

Commit c2b0583

Browse files
committed
Update CalcFunction.php
1 parent 32896dc commit c2b0583

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Value/CalcFunction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ public static function parse(ParserState $parserState, bool $ignoreCase = false)
6161
if (($parserState->comes('-') || $parserState->comes('+'))) {
6262
if (
6363
/** @phpstan-ignore theCodingMachineSafe.function */
64-
preg_match('/\\s/', $parserState->peek(1, -1)) !== 1
64+
\preg_match('/\\s/', $parserState->peek(1, -1)) !== 1
6565
/** @phpstan-ignore theCodingMachineSafe.function */
66-
|| preg_match('/\\s/', $parserState->peek(1, 1)) !== 1
66+
|| \preg_match('/\\s/', $parserState->peek(1, 1)) !== 1
6767
) {
6868
throw new UnexpectedTokenException(
6969
" {$parserState->peek()} ",

0 commit comments

Comments
 (0)