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

Merge branch 'next-2.x' into 'main'

fix(Basket): import() - $products must be of type array, null given

See merge request !128
Übergeordnete e3bf8a75 fdef3d3d
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!128fix(Basket): import() - $products must be of type array, null given,!117Update 'next-3.x' with latest changes from 'main'
Pipeline-Nr. 11963 mit Warnungen bestanden
......@@ -166,13 +166,13 @@ public function addProduct(Product $Product): void
//endregion
/**
/**
* Import the products to the basket
*
* @param array $products
* @param array|null $products
* @throws ExceptionStack
*/
public function import(array $products = []): void
public function import(array|null $products = []): void
{
$this->clear();
......
......@@ -84,13 +84,13 @@ public function addProduct(Product $Product): void
//endregion
/**
/**
* Import the products to the basket
*
* @param array $products
* @param array|null $products
* @throws ExceptionStack
*/
public function import(array $products = []): void
public function import(array|null $products = []): void
{
$this->clear();
......
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