mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
minor refactoring
This commit is contained in:
parent
569befbb2d
commit
cc29c6ee70
@ -85,8 +85,7 @@ abstract class AbstractTimelineAccompanyingPeriod implements TimelineProviderInt
|
|||||||
'id' => $metadata->getColumnName('id'),
|
'id' => $metadata->getColumnName('id'),
|
||||||
'FROM' => $metadata->getTableName(),
|
'FROM' => $metadata->getTableName(),
|
||||||
'WHERE' => sprintf('%s = %d',
|
'WHERE' => sprintf('%s = %d',
|
||||||
$this->em
|
$metadata
|
||||||
->getClassMetadata('ChillPersonBundle:AccompanyingPeriod')
|
|
||||||
->getAssociationMapping('person')['joinColumns'][0]['name'],
|
->getAssociationMapping('person')['joinColumns'][0]['name'],
|
||||||
$args['person']->getId())
|
$args['person']->getId())
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user