From 066f92e278f2b1f95b041a5dc81466ff5966e920 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Mon, 17 Nov 2014 20:06:55 +0100 Subject: [PATCH] zendframework/zf2#6374 zendframework/zf2#6370 - using nullable `$label` in the `FirePhpBridge` to avoid BC breaks --- src/Writer/FirePhp/FirePhpBridge.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Writer/FirePhp/FirePhpBridge.php b/src/Writer/FirePhp/FirePhpBridge.php index 54a5a262..608b605b 100644 --- a/src/Writer/FirePhp/FirePhpBridge.php +++ b/src/Writer/FirePhp/FirePhpBridge.php @@ -53,11 +53,11 @@ public function getEnabled() /** * Log an error message * - * @param string $line - * @param string $label + * @param string $line + * @param string|null $label * @return void */ - public function error($line, $label) + public function error($line, $label = null) { return $this->firephp->error($line, $label); } @@ -65,11 +65,11 @@ public function error($line, $label) /** * Log a warning * - * @param string $line - * @param string $label + * @param string $line + * @param string|null $label * @return void */ - public function warn($line, $label) + public function warn($line, $label = null) { return $this->firephp->warn($line, $label); } @@ -77,11 +77,11 @@ public function warn($line, $label) /** * Log informational message * - * @param string $line - * @param string $label + * @param string $line + * @param string|null $label * @return void */ - public function info($line, $label) + public function info($line, $label = null) { return $this->firephp->info($line, $label); } @@ -100,11 +100,11 @@ public function trace($line) /** * Log a message * - * @param string $line - * @param string $label + * @param string $line + * @param string|null $label * @return void */ - public function log($line, $label) + public function log($line, $label = null) { return $this->firephp->trace($line, $label); }