Skip to content

Commit

Permalink
add missing annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptouuuu committed Jan 16, 2025
1 parent 2a5012f commit 0e03a3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ public function words(string|\Stringable $charlist = ''): Map
/**
* Split the string using a regular expression
*
* @throws InvalidRegex If the split didn't work
*
* @return Sequence<self>
*/
public function pregSplit(string|\Stringable $regex, int $limit = -1): Sequence
Expand Down

0 comments on commit 0e03a3a

Please sign in to comment.