Skip to content

Commit 0010430

Browse files
committed
Merge branch '2.x'
2 parents 73b47b9 + b439557 commit 0010430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Preg.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public static function matchAllStrictGroups(string $pattern, string $subject, ?a
125125
* @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
126126
* @return 0|positive-int
127127
*
128-
* @phpstan-param array<int|string, list<array{string|null, int<-1, max>}>> $matches
128+
* @param-out array<int|string, list<array{string|null, int<-1, max>}>> $matches
129129
*/
130130
public static function matchAllWithOffsets(string $pattern, string $subject, ?array &$matches, int $flags = 0, int $offset = 0): int
131131
{

0 commit comments

Comments
 (0)