mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Add minor typing.
This commit is contained in:
parent
53d3a0921b
commit
d0b51f3573
@ -31,7 +31,7 @@ final class FlatHierarchyEntityHydrator extends ObjectHydrator
|
|||||||
{
|
{
|
||||||
return array_reduce(
|
return array_reduce(
|
||||||
$nodes,
|
$nodes,
|
||||||
static function (array $collect, $node) {
|
static function (array $collect, $node): array {
|
||||||
$parentId = (null === $parent = $node->getParent()) ?
|
$parentId = (null === $parent = $node->getParent()) ?
|
||||||
null :
|
null :
|
||||||
spl_object_id($parent);
|
spl_object_id($parent);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user