Completed
Push — master ( 75530e...73afe1 )
by Marcus
01:59
created
src/Shop/Helper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -449,12 +449,12 @@
 block discarded – undo
449 449
                 }
450 450
                 // because array_rand will change numerical (string) values to integer, we have to do this awkward dance
451 451
                 foreach ($keysAddSuggsTMP as $key => $item) {
452
-                    $keysAddSuggs[] = (string)$item;
452
+                    $keysAddSuggs[] = (string) $item;
453 453
                 }
454 454
 
455 455
                 // iterate suggestions and remove those that which will not be kept
456 456
                 foreach ($suggestions['additional'] as $addSuggsKey => $addSuggsVal) {
457
-                    if (!in_array((string)$addSuggsKey, $keysAddSuggs, true)) {
457
+                    if (!in_array((string) $addSuggsKey, $keysAddSuggs, true)) {
458 458
                         unset($suggestions['additional'][$addSuggsKey]);
459 459
                     }
460 460
                 }
Please login to merge, or discard this patch.