Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nirbhayel committed Dec 13, 2024
1 parent b641222 commit 87939c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/utils.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace EA11y\Classes;

use EA11y\Classes\Services\Client;

if ( ! defined( 'ABSPATH' ) ) {
Expand Down Expand Up @@ -33,7 +33,7 @@ public static function is_wp_settings_page(): bool {
return str_contains( $current_screen->id, 'options-' );
}

public static function is_elementor_installed() {
public static function is_elementor_installed() :bool {
$file_path = 'elementor/elementor.php';
$installed_plugins = get_plugins();
return isset( $installed_plugins[ $file_path ] );
Expand Down

0 comments on commit 87939c3

Please sign in to comment.