Incompatible with BEF 7.1.0
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3545332. -->
Reported by: [ruby232](https://www.drupal.org/user/2604126)
Related to !179 !168
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>A fatal error occurs: the declaration of <code>Tagify::create</code> is not compatible with <code>BetterExposedFiltersWidgetBase::create</code>.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>1. Install Better Exposed Filters version <code>7.1.0-beta1</code>.<br>
2. Configure a view using <em>Better Exposed Filters</em>.<br>
3. The following error is triggered:</p>
<pre>( ! ) Fatal error: Declaration of Drupal\tagify\Plugin\better_exposed_filters\filter\Tagify::create(Symfony\Component\DependencyInjection\ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) must be compatible with Drupal\better_exposed_filters\Plugin\BetterExposedFiltersWidgetBase::create(Symfony\Component\DependencyInjection\ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition): static in /var/www/html/web/modules/contrib/tagify/src/Plugin/better_exposed_filters/filter/Tagify.php on line 31</pre><h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Update the method signature in <code>Drupal\tagify\Plugin\better_exposed_filters\filter\Tagify::create</code> by adding the <code>static</code> return type.</p>
issue