mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-14 09:14:05 +02:00
Remove useless variable
This commit is contained in:
@@ -775,8 +775,6 @@ class Stringy implements \Countable, \IteratorAggregate, \ArrayAccess
|
||||
return false;
|
||||
}
|
||||
|
||||
$encoding = $this->encoding;
|
||||
|
||||
foreach ($needles as $needle) {
|
||||
if ($this->contains($needle, $caseSensitive)) {
|
||||
return true;
|
||||
@@ -801,8 +799,6 @@ class Stringy implements \Countable, \IteratorAggregate, \ArrayAccess
|
||||
return false;
|
||||
}
|
||||
|
||||
$encoding = $this->encoding;
|
||||
|
||||
foreach ($needles as $needle) {
|
||||
if (!$this->contains($needle, $caseSensitive)) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user