mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-15 09:44:14 +02:00
Minor code adjustment
This commit is contained in:
@@ -354,7 +354,7 @@ class Stringy implements \Countable, \IteratorAggregate, \ArrayAccess
|
|||||||
|
|
||||||
$buffer = preg_replace_callback(
|
$buffer = preg_replace_callback(
|
||||||
'/([\S]+)/u',
|
'/([\S]+)/u',
|
||||||
function ($match) use (&$encoding, &$ignore) {
|
function ($match) use ($encoding, $ignore) {
|
||||||
if ($ignore && in_array($match[0], $ignore)) {
|
if ($ignore && in_array($match[0], $ignore)) {
|
||||||
return $match[0];
|
return $match[0];
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user