Skip to content

Commit

Permalink
fixed PHP linting
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijitb committed Oct 23, 2024
1 parent c61f3f3 commit 32cfd66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/Plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ final class Plugins {
/**
* An array of capabilities that should not be run if the site has solution.
*
* @return array
* @var array
*/
protected static $solution_override_capabilities = array( 'hasYithExtended' );

Expand All @@ -278,7 +278,7 @@ public static function get_init() {
foreach ( $plugins_data_for_site_capabilities as $site_capability => $plugins_data ) {
// Skip capability installation if solution is present.
if ( Config::has_solution() &&
in_array( $site_capability, self::$solution_override_capabilities ) ) {
in_array( $site_capability, self::$solution_override_capabilities, true ) ) {
continue;
}
// Check if the capability is enabled on Hiive
Expand Down

0 comments on commit 32cfd66

Please sign in to comment.