mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-12 06:56:24 +00:00
Replace function split by explode when possible.
Signed-off-by: Mark Story <mark@mark-story.com>
This commit is contained in:
parent
911a99bf23
commit
1c0c1bc9c7
1 changed files with 2 additions and 2 deletions
|
@ -263,9 +263,9 @@ class ExtractTask extends Shell{
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_array($token)) {
|
if (is_array($token)) {
|
||||||
$lineNumber += count(split("\n", $token[1])) - 1;
|
$lineNumber += count(explode("\n", $token[1])) - 1;
|
||||||
} else {
|
} else {
|
||||||
$lineNumber += count(split("\n", $token)) - 1;
|
$lineNumber += count(explode("\n", $token)) - 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unset($allTokens);
|
unset($allTokens);
|
||||||
|
|
Loading…
Add table
Reference in a new issue