Update libs/DoctrineLogger/src/Subscriber.php

Fixed giving of Ids from entity.