diff --git a/src/Str.php b/src/Str.php index 29cbf91..c861fb6 100644 --- a/src/Str.php +++ b/src/Str.php @@ -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 */ public function pregSplit(string|\Stringable $regex, int $limit = -1): Sequence