diff --git a/www/lib/class.versanddienstleister.php b/www/lib/class.versanddienstleister.php index 1e569c09..c2cdd179 100644 --- a/www/lib/class.versanddienstleister.php +++ b/www/lib/class.versanddienstleister.php @@ -7,7 +7,7 @@ use Xentral\Modules\ShippingMethod\Model\Product; abstract class Versanddienstleister { protected int $id; - protected Application $app; + protected ApplicationCore $app; protected string $type; protected int $projectId; protected ?int $labelPrinterId; @@ -16,7 +16,7 @@ abstract class Versanddienstleister protected ?int $businessLetterTemplateId; protected ?object $settings; - public function __construct(Application $app, ?int $id) + public function __construct(ApplicationCore $app, ?int $id) { $this->app = $app; if ($id === null || $id === 0) diff --git a/www/lib/versandarten/sendcloud.php b/www/lib/versandarten/sendcloud.php index 18bee5cb..0908a79c 100644 --- a/www/lib/versandarten/sendcloud.php +++ b/www/lib/versandarten/sendcloud.php @@ -19,7 +19,7 @@ class Versandart_sendcloud extends Versanddienstleister protected SendCloudApi $api; protected array $options; - public function __construct(Application $app, ?int $id) + public function __construct(ApplicationCore $app, ?int $id) { parent::__construct($app, $id); if (!isset($this->id)) diff --git a/www/pages/versandarten.php b/www/pages/versandarten.php index a7651401..b10fb415 100644 --- a/www/pages/versandarten.php +++ b/www/pages/versandarten.php @@ -21,7 +21,7 @@ use Xentral\Widgets\ClickByClickAssistant\VueUtil; class Versandarten { const MODULE_NAME = 'ShippingMethod'; - var Application $app; + var ApplicationCore $app; /** @var string[] $stylesheet */ public array $stylesheet = [ './classes/Modules/Appstore/www/css/tilegrid.css', @@ -35,10 +35,10 @@ class Versandarten { /** * Versandarten constructor. * - * @param Application $app + * @param ApplicationCore $app * @param bool $intern */ - public function __construct(Application $app, bool $intern = false) + public function __construct(ApplicationCore $app, bool $intern = false) { $this->app=$app; if($intern) {