Browse code

Add return type to addOrUpdateProductBySku method

Benjamin Roth authored on07/11/2024 19:17:36
Showing1 changed files
... ...
@@ -202,7 +202,7 @@ class Shopware
202 202
         return false;
203 203
     }
204 204
 
205
-    public function addOrUpdateProductBySku(string $strSku, array $arrData)/*: bool*/
205
+    public function addOrUpdateProductBySku(string $strSku, array $arrData): bool
206 206
     {
207 207
         $blnInsert = true;
208 208
         // Update or insert check