Add return type declarations

Created on 2 May 2022, over 2 years ago
Updated 8 May 2023, over 1 year ago

Drupal 9.3

Fatal error: Declaration of Drupal\prefetch_cache\StackMiddleware\PrefetchCacheAfterSessionInitialized::handle(Symfony\Component\HttpFoundation\Request $request, $type = self::MASTER_REQUEST, $catch = true) must be compatible with Drupal\page_cache\StackMiddleware\PageCache::handle(Symfony\Component\HttpFoundation\Request $request, $type = self::MASTER_REQUEST, $catch = true): Symfony\Component\HttpFoundation\Response in docroot/modules/contrib/prefetch_cache/src/StackMiddleware/PrefetchCacheAfterSessionInitialized.php on line 24

Fatal error: Declaration of Drupal\prefetch_cache\StackMiddleware\PrefetchCacheBeforePageCache::handle(Symfony\Component\HttpFoundation\Request $request, $type = self::MASTER_REQUEST, $catch = true) must be compatible with Drupal\page_cache\StackMiddleware\PageCache::handle(Symfony\Component\HttpFoundation\Request $request, $type = self::MASTER_REQUEST, $catch = true): Symfony\Component\HttpFoundation\Response in docroot/modules/contrib/prefetch_cache/src/StackMiddleware/PrefetchCacheBeforePageCache.php on line 64

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany volkerk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024