- Issue created by @mxr576
If you implement this interface the right way then PHPStan rightfully starts complaining
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
184 Method Drupal\my_module\Plugin\search_api\datasource\MyDataSource::getViewModes() should return array<string> but returns array<string,
Drupal\Core\StringTranslation\TranslatableMarkup>.
🪪 return.type
Active
1.0
General code