mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-06-03 22:05:03 -04:00
ObjectSuggestion: Fix incorrect variable type hint
This commit is contained in:
parent
8bcdb9ae3e
commit
7af6bb7e2c
1 changed files with 1 additions and 1 deletions
|
|
@ -321,8 +321,8 @@ class ObjectSuggestions extends Suggestions
|
|||
self::collectRelations($resolver, $model, $models, []);
|
||||
}
|
||||
|
||||
/** @var Model $targetModel */
|
||||
foreach ($models as $path => $targetModel) {
|
||||
/** @var Model $targetModel */
|
||||
foreach ($resolver->getColumnDefinitions($targetModel) as $columnName => $definition) {
|
||||
yield $path . '.' . $columnName => $definition->getLabel();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue