Skip to content
Snippets Groups Projects

fix: simpleLoggerFactory

Merged Krzysztof Dyszczyk requested to merge fix/simple-logger into master
1 unresolved thread
2 files
+ 6
2
Compare changes
  • Side-by-side
  • Inline

Files

+ 2
2
<?php
declare(strict_types=1);
declare( strict_types=1 );
namespace WPDesk\Logger;
@@ -25,7 +25,7 @@ final class SimpleLoggerFactory implements LoggerFactory {
$this->options = $options ?? new Settings();
}
public function getLogger( string $channel, Settings $options = null ): Logger {
public function getLogger( $name = null ): Logger {
if ( $this->logger ) {
return $this->logger;
}
Loading