mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix parameter type.
This commit is contained in:
parent
d0b51f3573
commit
9b756ffb2f
@ -16,7 +16,7 @@ final class FlatHierarchyEntityHydrator extends ObjectHydrator
|
||||
return array_values(iterator_to_array($this->flatListGenerator($this->buildChildrenHashmap(parent::hydrateAllData()))));
|
||||
}
|
||||
|
||||
private function flatListGenerator(array $hashMap, ?int $parent = null): Generator
|
||||
private function flatListGenerator(array $hashMap, ?object $parent = null): Generator
|
||||
{
|
||||
$parent = null === $parent ? null : spl_object_id($parent);
|
||||
$hashMap += [$parent => []];
|
||||
|
Loading…
x
Reference in New Issue
Block a user