From 382f58a6ecf45640f9f73cf2ae73000bdfe56340 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 1 Apr 2020 11:38:48 +0200 Subject: [PATCH] Cast string to int to fulfill interface --- Classes/Domain/Pageview/Factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] ?? '' );