Skip to content

Commit

Permalink
Craft::parseEnv => App::parseEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenckens committed Nov 28, 2024
1 parent 234fb61 commit 9737532
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/models/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Craft;
use craft\base\Model;
use craft\helpers\App;
use Exception;
use Illuminate\Support\Collection;
use rias\scout\engines\AlgoliaEngine;
Expand Down Expand Up @@ -123,16 +124,16 @@ public function getEngine(ScoutIndex $scoutIndex): Engine

public function getApplicationId(): string
{
return Craft::parseEnv($this->application_id);
return App::parseEnv($this->application_id);
}

public function getAdminApiKey(): string
{
return Craft::parseEnv($this->admin_api_key);
return App::parseEnv($this->admin_api_key);
}

public function getSearchApiKey(): string
{
return Craft::parseEnv($this->search_api_key);
return App::parseEnv($this->search_api_key);
}
}

0 comments on commit 9737532

Please sign in to comment.