Skip to content
Code-Schnipsel Gruppen Projekte
Commit f8a6f865 erstellt von Patrick Müller's avatar Patrick Müller
Dateien durchsuchen

refactor: match new PriceFactorInterface

Übergeordneter d6d788df
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -21,7 +21,7 @@
"php": ">=5.3",
"quiqqer\/quiqqer": "*@dev",
"quiqqer\/areas": "*@dev",
"quiqqer\/products": "*@dev",
"quiqqer\/products": "^1.6|*@dev",
"quiqqer\/tax": "*@dev"
},
"autoload": {
......
......@@ -19,7 +19,7 @@ class PriceFactor extends QUI\ERP\Products\Utils\PriceFactor implements QUI\ERP\
/**
* @var string
*/
protected $type = Handler::DISCOUNT_PRICEFACTOR_TYPE;
protected string $type = Handler::DISCOUNT_PRICEFACTOR_TYPE;
/**
* @var string|null
......@@ -70,7 +70,7 @@ public function getVatType()
/**
* @return array
*/
public function toArray()
public function toArray(): array
{
$attributes = parent::toArray();
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren