Skip to content

Commit 2bb9fbb

Browse files
miclftaylorotwell
authored andcommitted
Fix docblock for Str::is() (#20958)
Commit ceb59c1 added the ability for `Str::is()` to handle multiple patterns instead of just one, but the docblock has not been updated to reflect this change.
1 parent d44c435 commit 2bb9fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Support/Str.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public static function finish($value, $cap)
143143
/**
144144
* Determine if a given string matches a given pattern.
145145
*
146-
* @param string $pattern
146+
* @param string|array $pattern
147147
* @param string $value
148148
* @return bool
149149
*/

0 commit comments

Comments
 (0)