- Issue created by @csmdgl
- Merge request !2553488396: Typeerror: Return value must be of type string, none returned in getCount β (Open) created by csmdgl
- ππΊHungary huzooka Hungary ππΊπͺπΊ
Imho this can be solved without changing the return type at
Drupal\facets\Plugin\facets\facet_source\SearchApiDisplay::getCount()
. - π΅πΉPortugal dxvargas
The MR is working.
I'm not sure about removing the return type declaration, "?string" could be there. But since the return type declarations are not consistently used in the class and it's not used in the interface, removing is also an option that makes sense.
I mark the issue as RTBC.