Force typing for ArrayIterator in EntityWorkflow

This commit is contained in:
Julien Fastré 2024-08-28 11:48:24 +02:00
parent ad47804c91
commit c16219dc6d
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -286,6 +286,7 @@ class EntityWorkflow implements TrackCreationInterface, TrackUpdateInterface
return $this->stepsChainedCache; return $this->stepsChainedCache;
} }
/** @var \ArrayIterator $iterator */
$iterator = $this->steps->getIterator(); $iterator = $this->steps->getIterator();
$current = null; $current = null;
$steps = []; $steps = [];