Skip to content
Code-Schnipsel Gruppen Projekte
Commit c87fe722 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

refactor(phpcs): improve readability in getShippingPriceFactor method

This commit refactors the getShippingPriceFactor method in the Shipping.php file, by adding a line
break for the method's parameter for better visibility and readability.
Übergeordneter c79bc5df
Branches next-3.x
No related tags found
2 Merge Requests!46Update 'next-3.x' with latest changes from 'main',!45fix(phpstan): allow null as parameter in various functions
Pipeline #15591 mit Warnungen bestanden mit Phase
in 2 Minuten und 36 Sekunden
......@@ -304,7 +304,8 @@ public function getUserShipping(
* @param QUI\ERP\ErpEntityInterface $Entity
* @return PriceFactorInterface|ErpPriceFactor|null
*/
public function getShippingPriceFactor(QUI\ERP\ErpEntityInterface $Entity
public function getShippingPriceFactor(
QUI\ERP\ErpEntityInterface $Entity
): ErpPriceFactor | PriceFactorInterface | null {
$PriceFactors = $Entity->getArticles()->getPriceFactors();
......
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