diff --git a/core/modules/migrate/src/MemoryManager.php b/core/modules/migrate/src/MemoryManager.php index b570dd4679..b854613562 100644 --- a/core/modules/migrate/src/MemoryManager.php +++ b/core/modules/migrate/src/MemoryManager.php @@ -66,7 +66,7 @@ public function __construct(EventDispatcherInterface $dispatcher, $reclaim_thres // @todo: Remove cast to int. See https://www.drupal.org/node/3142934. $this->memoryLimit = ($memory_limit == -1) ? PHP_INT_MAX - : (int) Bytes::toInt($memory_limit); + : Bytes::toInt($memory_limit); } /**