We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3bb78e commit a1adc3eCopy full SHA for a1adc3e
1 file changed
inc/compatibilities/hummingbird.php
@@ -44,7 +44,8 @@ public function should_load_early() {
44
* @return void
45
*/
46
public function add_clear_cache_action( $location ) {
47
- if ( ! class_exists( '\Hummingbird\Core\Utils' ) || ! method_exists( '\Hummingbird\Core\Utils', 'get_module' ) ) {
+ // @phpstan-ignore-next-line - we need to check that method exists explicitly as it might change in the future.
48
+ if ( ! class_exists( '\Hummingbird\Core\Utils' ) || ! method_exists( '\Hummingbird\Core\Utils', 'get_module' ) ) { // @phpstan-ignore-line
49
return;
50
}
51
0 commit comments