We should add return types to all methods. This can be done with a rector rule.
This will need to be done as part of a new major version as existing code that extends these classes will break if they don't implement the return types.
Use the following rector rule:
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
// this should match where the module lives relative to composer root.
->withPaths([__DIR__ . '/modules/custom/search_api'])
->withTypeCoverageLevel(10);
Active
1.0
General code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.