Skip to content
Snippets Groups Projects

bugfix(compatibility): backward compatibility

Merged Grzegorz Rola requested to merge bugfix/backward-compatibility into master
2 files
+ 5
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -35,6 +35,7 @@ final class SimpleLoggerFactory implements LoggerFactory {
@@ -35,6 +35,7 @@ final class SimpleLoggerFactory implements LoggerFactory {
*/
*/
public function __construct( string $channel, $options = null ) {
public function __construct( string $channel, $options = null ) {
$this->channel = $channel;
$this->channel = $channel;
 
$options = $options ?? new Settings();
if ( $options instanceof Settings ) {
if ( $options instanceof Settings ) {
$options = $options->to_array();
$options = $options->to_array();
Loading