diff --git a/Configuration/ProcessConfiguration.php b/Configuration/ProcessConfiguration.php index f452148e..509e0f23 100644 --- a/Configuration/ProcessConfiguration.php +++ b/Configuration/ProcessConfiguration.php @@ -347,9 +347,8 @@ protected function sortDependencies(array $dependencies): array return $dependencies; } - /** @var int $midOffset */ $midOffset = \count($dependencies) / 2; - $midTaskCode = $dependencies[$midOffset]; + $midTaskCode = $dependencies[(int)$midOffset]; $midTask = $this->getTaskConfiguration($midTaskCode); $previousTasks = [];