remove unused $max variable inside closure at CLI::wrap()

This commit is contained in:
Abdul Malik Ikhsan 2017-08-08 13:44:37 +07:00
parent 6765c6e27c
commit 6c8b126eeb
No known key found for this signature in database
GPG Key ID: 23FCCC74D1442CAE

View File

@ -587,7 +587,7 @@ class CLI
$first = true;
array_walk($lines, function (&$line, $index) use ($max, $pad_left, &$first) {
array_walk($lines, function (&$line, $index) use ($pad_left, &$first) {
if ( ! $first)
{
$line = str_repeat(" ", $pad_left) . $line;