From 6c8b126eebf0bd4380bf69053343c0aa27de982b Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Tue, 8 Aug 2017 13:44:37 +0700 Subject: [PATCH] remove unused $max variable inside closure at CLI::wrap() --- system/CLI/CLI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/CLI/CLI.php b/system/CLI/CLI.php index 7f03e6af4a..41c5fe11b1 100644 --- a/system/CLI/CLI.php +++ b/system/CLI/CLI.php @@ -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;