From d34eb7895fb8299638f5f5666d1cbe6b4ca535b4 Mon Sep 17 00:00:00 2001 From: Jean Paul Galea Date: Thu, 10 Sep 2015 20:32:21 +0200 Subject: [PATCH] Rename variable. --- ykval-log.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ykval-log.php b/ykval-log.php index 9ed6208..d84a226 100644 --- a/ykval-log.php +++ b/ykval-log.php @@ -60,13 +60,13 @@ class Log foreach ($this->fields as $val) $prefix .= "[$val] "; - $final = ''; + $suffix = ''; if (is_array($extra)) { foreach($extra as $key => $value) { if (is_array($value)) { $value = implode(':', $value); } - $final .= " $key=$value "; + $suffix .= " $key=$value "; } } @@ -75,6 +75,6 @@ class Log $this->name . ':' . $prefix. $message . - $final); + $suffix); } }