diff --git a/Classes/Middleware/FrontendCacheMiddleware.php b/Classes/Middleware/FrontendCacheMiddleware.php index 9a8340b61db..e88958b0364 100644 --- a/Classes/Middleware/FrontendCacheMiddleware.php +++ b/Classes/Middleware/FrontendCacheMiddleware.php @@ -15,8 +15,7 @@ class FrontendCacheMiddleware implements MiddlewareInterface public function process( ServerRequestInterface $request, RequestHandlerInterface $handler, - ): ResponseInterface - { + ): ResponseInterface { if (class_exists(CacheInstruction::class)) { // Get the attribute, if not available, use a new CacheInstruction object $cacheInstruction = $request->getAttribute( diff --git a/Classes/Service/ClientService.php b/Classes/Service/ClientService.php index 47c4aff8b1d..ee6f1bcec61 100644 --- a/Classes/Service/ClientService.php +++ b/Classes/Service/ClientService.php @@ -66,7 +66,7 @@ protected function getCallableClient(string $domain): Client 'max' => false, ], 'headers' => [ - 'User-Agent' => GeneralUtility::makeInstance(ConfigurationService::class)->get('overrideClientUserAgent') ?? self::DEFAULT_USER_AGENT + 'User-Agent' => GeneralUtility::makeInstance(ConfigurationService::class)->get('overrideClientUserAgent') ?? self::DEFAULT_USER_AGENT, ], ];