Skip to content

Commit 42e68bb

Browse files
authored
Method contains() should only have needles (#31651)
1 parent 1a38312 commit 42e68bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Support/Stringable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function camel()
148148
* @param string|array $needles
149149
* @return bool
150150
*/
151-
public function contains($haystack, $needles)
151+
public function contains($needles)
152152
{
153153
return Str::contains($this->value, $needles);
154154
}

0 commit comments

Comments
 (0)