Skip to content

Commit

Permalink
Settings: Fix PhpStan
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Jan 20, 2021
1 parent 0bd528e commit 9fe7826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Settings/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public function run(): string
->renderToString(__DIR__ . '/../../template/install-basic.latte', [
'basePath' => Url::get()->getBaseUrl(),
'locale' => $this->localization->getLocale(),
'isLocalhost' => $url === null || strpos($url, 'localhost') !== false,
'isBarajaCz' => $url !== null && strpos($url, 'baraja.cz') !== false,
'isLocalhost' => strpos($url, 'localhost') !== false,
'isBarajaCz' => strpos($url, 'baraja.cz') !== false,
]);
}

Expand Down

0 comments on commit 9fe7826

Please sign in to comment.