Skip to content

Commit

Permalink
use \ prefix for str_contains
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksei Gagarin <[email protected]>
  • Loading branch information
samsonasik and roxblnfk authored Sep 5, 2024
1 parent 7b2ebc6 commit a9c96e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Translator/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 str_contains($string, '*') || str_contains($string, '|');
return \str_contains($string, '*') || \str_contains($string, '|');
}

/**
Expand Down

0 comments on commit a9c96e5

Please sign in to comment.