Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Clap404 committed Nov 7, 2023
1 parent d6404b9 commit 7c73746
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controller/AbstractApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public function __construct()
{
parent::__construct();

/* @var ConfigurationRepository $configurationRepository */
$configurationRepository = $this->module->getService(\PrestaShop\Module\PsEventbus\Repository\ConfigurationRepository::class);
$this->timezone = (string) $configurationRepository->get('PS_TIMEZONE');

Check failure on line 89 in src/Controller/AbstractApiController.php

View workflow job for this annotation

GitHub Actions / PHPStan (1.7.8.7)

Cannot call method get() on mixed.

Expand Down

0 comments on commit 7c73746

Please sign in to comment.