Skip to content

Commit

Permalink
use name variable
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 26, 2018
1 parent 6931c2e commit 796ed1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Log/LogManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,11 @@ protected function formatter()
*/
protected function parseChannel(array $config)
{
if (! isset($config['channel'])) {
if (! isset($config['name'])) {
return $this->app->bound('env') ? $this->app->environment() : 'production';
}

return $config['channel'];
return $config['name'];
}

/**
Expand Down

0 comments on commit 796ed1e

Please sign in to comment.