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
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!46Update 'next-3.x' with latest changes from 'main',!45fix(phpstan): allow null as parameter in various functions
Pipeline-Nr. 15591 mit Warnungen bestanden
...@@ -304,7 +304,8 @@ public function getUserShipping( ...@@ -304,7 +304,8 @@ public function getUserShipping(
* @param QUI\ERP\ErpEntityInterface $Entity * @param QUI\ERP\ErpEntityInterface $Entity
* @return PriceFactorInterface|ErpPriceFactor|null * @return PriceFactorInterface|ErpPriceFactor|null
*/ */
public function getShippingPriceFactor(QUI\ERP\ErpEntityInterface $Entity public function getShippingPriceFactor(
QUI\ERP\ErpEntityInterface $Entity
): ErpPriceFactor | PriceFactorInterface | null { ): ErpPriceFactor | PriceFactorInterface | null {
$PriceFactors = $Entity->getArticles()->getPriceFactors(); $PriceFactors = $Entity->getArticles()->getPriceFactors();
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren