The expression return version_compare($...supportedVersion, '>=') could return the type integer which is incompatible with the type-hinted return boolean. Consider adding an additional type-check to rule them out.
Loading history...
29
}
30
31
protected function notify(string $name): void
32
{
33
$notice = _x('Update %s to v%s or higher to enable the integration with Site Reviews.', 'admin-text', 'site-reviews');