Apply fixes from StyleCI

This commit is contained in:
arandilopez 2021-01-11 05:04:40 +00:00 committed by Arandi López
parent 0b325d6f62
commit 03eb1459ee
4 changed files with 8 additions and 10 deletions

View File

@ -13,7 +13,6 @@ class Str
* *
* @return bool * @return bool
*/ */
public static function containsCaseless($haystack, $needles, $strict = false) public static function containsCaseless($haystack, $needles, $strict = false)
{ {
foreach ((array) $needles as $needle) { foreach ((array) $needles as $needle) {

View File

@ -40,7 +40,6 @@ class StrTest extends TestCase
$this->assertTrue(Str::containsCaseless('Theorem Analisys', 'anal', false)); $this->assertTrue(Str::containsCaseless('Theorem Analisys', 'anal', false));
} }
public function test_text_contains_the_same_insensitive_match_from_string() public function test_text_contains_the_same_insensitive_match_from_string()
{ {
$this->assertTrue(Str::containsCaseless('Fuck! This class is so bad!', 'Fuck')); $this->assertTrue(Str::containsCaseless('Fuck! This class is so bad!', 'Fuck'));