psr2 tidy up of logging code.

This commit is contained in:
steve.brazier 2014-02-27 14:23:51 +00:00
commit b60e278cf9
6 changed files with 22 additions and 21 deletions

View file

@ -20,7 +20,7 @@ class BuildLogger implements LoggerAwareInterface
*/
protected $build;
function __construct(LoggerInterface $logger = null, Build $build)
public function __construct(LoggerInterface $logger, Build $build)
{
$this->logger = $logger;
$this->build = $build;
@ -93,4 +93,4 @@ class BuildLogger implements LoggerAwareInterface
{
$this->logger = $logger;
}
}
}