Skip to content

Commit

Permalink
Merge branch 'v3.2-dev'
Browse files Browse the repository at this point in the history
# Conflicts:
#	Transformer/WrapperTransformer.php
#	src/Configuration/ProcessConfiguration.php
#	src/Transformer/InstantiateTransformer.php
  • Loading branch information
njoubert-cleverage committed Oct 17, 2024
2 parents f18d5ee + e4bfef9 commit 9d8ed54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Configuration/ProcessConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,8 @@ protected function sortDependencies(array $dependencies): array
return $dependencies;
}

/** @var int $midOffset */
$midOffset = round(\count($dependencies) / 2);
$midTaskCode = $dependencies[$midOffset];
$midTaskCode = $dependencies[(int)$midOffset];
$midTask = $this->getTaskConfiguration($midTaskCode);

$previousTasks = [];
Expand Down

0 comments on commit 9d8ed54

Please sign in to comment.