Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyakrishnai committed Oct 22, 2024
1 parent ab7fd4c commit ff6a918
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions includes/Solutions.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ public function init_entitilements_apis(): void {
public static function add_my_plugins_and_tools_tab( array $tabs ) {
$capability = new SiteCapabilities();

$hasSolutions = $capability->get( 'hasSolution' );
$has_solutions = $capability->get( 'hasSolution' );

if ( ! $hasSolutions ) {
if ( ! $has_solutions ) {
return $tabs;
}
$hiive = new HiiveConnection();
Expand All @@ -118,9 +118,9 @@ public static function add_my_plugins_and_tools_tab( array $tabs ) {
public static function add_plugins_and_tools_menu_link() {
$capability = new SiteCapabilities();

$hasSolutions = $capability->get( 'hasSolution' );
$has_solutions = $capability->get( 'hasSolution' );

if ( $hasSolutions ) {
if ( $has_solutions ) {
$hiive = new HiiveConnection();
$api = new EntitlementsApi( $hiive );
$entitlements = $api->get_items();
Expand Down

0 comments on commit ff6a918

Please sign in to comment.