PersonMoveEventSubscriber: handle case when the move is before the last

locationHistory, but the move affects "now"
This commit is contained in:
2022-02-19 10:27:44 +01:00
parent 104af6d9b5
commit 8675bb65c1
4 changed files with 58 additions and 12 deletions

View File

@@ -26,7 +26,7 @@ use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Serializer\Exception;
use Symfony\Component\Translation\TranslatorInterface;
use Symfony\Contracts\Translation\TranslatorInterface;
use function count;