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

+ 1
0
@@ -35,6 +35,7 @@ final class SimpleLoggerFactory implements LoggerFactory {
*/
public function __construct( string $channel, $options = null ) {
$this->channel = $channel;
$options = $options ?? new Settings();
if ( $options instanceof Settings ) {
$options = $options->to_array();
Loading