diff --git a/Classes/Domain/Pageview/Factory.php b/Classes/Domain/Pageview/Factory.php index f6a1ef3..7555dac 100644 --- a/Classes/Domain/Pageview/Factory.php +++ b/Classes/Domain/Pageview/Factory.php @@ -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] ?? '' );