Skip to content
Snippets Groups Projects

Issue #3414059: Fix code - Passing null to paramete

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -49,7 +49,7 @@ class BehatJavascriptContext extends DrupalSubContextBase {
public function __construct(DrupalDriverManager $drupal) {
parent::__construct($drupal);
$settings = \Drupal::config('behat_javascript.settings');
$this->ignoredErrors = array_filter(explode("\n", $settings->get('ignored_errors')));
$this->ignoredErrors = array_filter(explode("\n", $settings->get('ignored_errors') ?? ''));
}
/**
Loading