psr2 tidy up of logging code.
This commit is contained in:
parent
5178c4c229
commit
b60e278cf9
6 changed files with 22 additions and 21 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue