Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…sing nullable `$label` in the `FirePhpBridge` to avoid BC breaks
  • Loading branch information
Ocramius committed Nov 17, 2014
1 parent ab9bac4 commit 066f92e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/Writer/FirePhp/FirePhpBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,35 +53,35 @@ 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);
}

/**
* 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);
}

/**
* 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);
}
Expand All @@ -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);
}
Expand Down

0 comments on commit 066f92e

Please sign in to comment.