Skip to content

Commit

Permalink
Add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos committed Mar 10, 2024
1 parent e1e38f4 commit 31ab588
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Preg.php
Expand Up @@ -25,6 +25,8 @@
final class Preg
{
/**
* @todo replace template with variable when https://github.com/phpstan/phpstan/issues/10699 is done
*
* @template TFlags as int-mask<PREG_OFFSET_CAPTURE, PREG_UNMATCHED_AS_NULL>
*
* @param array<array-key, mixed> $matches
Expand Down Expand Up @@ -59,6 +61,8 @@ public static function match(string $pattern, string $subject, ?array &$matches
}

/**
* @todo replace template with variable when https://github.com/phpstan/phpstan/issues/10699 is done
*
* @template TFlags as int-mask<PREG_PATTERN_ORDER, PREG_SET_ORDER, PREG_OFFSET_CAPTURE, PREG_UNMATCHED_AS_NULL>
*
* @param array<array-key, mixed> $matches
Expand Down

0 comments on commit 31ab588

Please sign in to comment.