Skip to content

Commit

Permalink
Fix bug in PHPdoc (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarila authored Oct 11, 2023
1 parent 3fdb280 commit b439557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Preg.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public static function matchAllStrictGroups(string $pattern, string $subject, ?a
* @param int-mask<PREG_UNMATCHED_AS_NULL|PREG_OFFSET_CAPTURE> $flags PREG_UNMATCHED_AS_NULL and PREG_MATCH_OFFSET are always set, no other flags are supported
* @return 0|positive-int
*
* @phpstan-param array<int|string, list<array{string|null, int<-1, max>}>> $matches
* @param-out array<int|string, list<array{string|null, int<-1, max>}>> $matches
*/
public static function matchAllWithOffsets(string $pattern, string $subject, ?array &$matches, int $flags = 0, int $offset = 0): int
{
Expand Down

0 comments on commit b439557

Please sign in to comment.