Skip to content

Commit 8a25585

Browse files
committed
use isMatch for test
1 parent 4ae98ef commit 8a25585

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
@@ -471,7 +471,7 @@ public function matchAll($pattern)
471471
*/
472472
public function test($pattern)
473473
{
474-
return $this->match($pattern)->isNotEmpty();
474+
return $this->isMatch($pattern);
475475
}
476476

477477
/**

0 commit comments

Comments
 (0)