Skip to content

Commit 98d7ac2

Browse files
committed
php cs fixer
1 parent 75daa5a commit 98d7ac2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

classes/PrettyBlocksModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ public static function copyZone($zone_name, $zone_name_to_paste, $id_lang, $id_s
974974
$results = $db->executeS($query);
975975
$result = true;
976976
$lastPosition = self::getLastPosition($zone_name, $id_lang, $id_shop);
977-
977+
978978
foreach ($results as $row) {
979979
$model = new PrettyBlocksModel(null, $id_lang, $id_shop);
980980
$model->zone_name = $zone_name_to_paste;
@@ -988,7 +988,7 @@ public static function copyZone($zone_name, $zone_name_to_paste, $id_lang, $id_s
988988
$model->id_shop = (int) $id_shop;
989989
$model->id_lang = (int) $id_lang;
990990
$model->position = $row['position'] + $lastPosition;
991-
$lastPosition++;
991+
++$lastPosition;
992992
if (!$model->save()) {
993993
$errors[] = $model;
994994
}

0 commit comments

Comments
 (0)