Skip to content

Commit

Permalink
Apply php8.0 in Rector preset (#1139)
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Sep 6, 2024
1 parent cb0e56a commit 1e23abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Matcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class Matcher
{
public function isPattern(string $string): bool
{
return \strpos($string, '*') !== false || \strpos($string, '|') !== false;
return \str_contains($string, '*') || \str_contains($string, '|');
}

/**
Expand Down

0 comments on commit 1e23abc

Please sign in to comment.