mirror of
https://github.com/DanielSiepmann/tracking.git
synced 2024-11-24 22:36:08 +01:00
Cast string to int to fulfill interface
This commit is contained in:
parent
be0e13416c
commit
382f58a6ec
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Factory implements FromRequest
|
|||
static::getRouting($request)->getPageId(),
|
||||
$request->getAttribute('language'),
|
||||
new \DateTimeImmutable(),
|
||||
static::getRouting($request)->getPageType(),
|
||||
(int) static::getRouting($request)->getPageType(),
|
||||
(string) $request->getUri(),
|
||||
$request->getHeader('User-Agent')[0] ?? ''
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue