From 91db11fb5731145f92924a4c258f4dd1bc4e03e2 Mon Sep 17 00:00:00 2001 From: RocKordier Date: Sun, 31 Mar 2024 15:37:25 +0200 Subject: [PATCH] Fixes oroinc/platform#1111 [ActivityListBundle] fix const usage --- .../Migrations/Data/ORM/AddActivityListsData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Oro/Bundle/ActivityListBundle/Migrations/Data/ORM/AddActivityListsData.php b/src/Oro/Bundle/ActivityListBundle/Migrations/Data/ORM/AddActivityListsData.php index 804d15b67af..48bb326cfe3 100644 --- a/src/Oro/Bundle/ActivityListBundle/Migrations/Data/ORM/AddActivityListsData.php +++ b/src/Oro/Bundle/ActivityListBundle/Migrations/Data/ORM/AddActivityListsData.php @@ -52,7 +52,7 @@ public function addActivityListsForActivityClass( $entities = []; } } - if ($itemsCount % static::BATCH_SIZE > 0) { + if ($itemsCount % self::BATCH_SIZE > 0) { $this->saveActivityLists($manager, $provider, $entities, $ownerField, $organizationField); } }