Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bronek89 committed Sep 30, 2023
1 parent b58a769 commit 2f55b50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/PlainString.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public function endsWith($pattern): bool

/**
* @param string|StringValue $pattern
* @return ArrayValue<array<int|string, string>>
* @return ArrayValue<array<string>>
*/
public function matchAllPatterns($pattern): ArrayValue
{
Expand Down
2 changes: 1 addition & 1 deletion src/PlainStringsArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ public function positionLast($needle): ?int

/**
* @param string|StringValue $pattern
* @return ArrayValue<array<int|string, string>>
* @return ArrayValue<array<string>>
*/
public function matchAllPatterns($pattern): ArrayValue
{
Expand Down
2 changes: 1 addition & 1 deletion src/StringValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function positionLast($needle): ?int;

/**
* @param string|StringValue $pattern
* @return ArrayValue<array<int|string, string>>
* @return ArrayValue<array<string>>
*/
public function matchAllPatterns($pattern): ArrayValue;

Expand Down

0 comments on commit 2f55b50

Please sign in to comment.