1
0
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:
Lucas Michot
2014-09-29 14:24:02 +02:00
parent c31e41f57a
commit bb6ea99c52

View File

@@ -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;