We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d0cafb commit e3fb4afCopy full SHA for e3fb4af
tests/Type/Nette/data/strings-match.php
@@ -40,6 +40,6 @@ function (string $s): void {
40
};
41
42
function (string $s): void {
43
- $result = Strings::matchAll($lineContent, '~\[gallery ids=(„|")(?<allIds>([0-9]+,? ?)+)(“|")~');
44
- assertType('list<array{0: string, 1: non-empty-string, allIds: non-empty-string, 2: non-empty-string, 3: non-empty-string, 4: non-empty-string}>', $result);
+ $result = Strings::matchAll($s, '~\[gallery ids=(„|")(?<allIds>([0-9]+,? ?)+)(“|")~');
+ assertType("list<array{0: string, 1: '"'|'„', allIds: non-empty-string, 2: non-empty-string, 3: non-empty-string, 4: '"'|'“'}>", $result);
45
0 commit comments