Fix issue spotted by PHPStan on the CI

Created on 8 May 2024, 8 months ago

Problem/Motivation

$ php vendor/bin/phpstan analyze $_WEB_ROOT/modules/custom/$CI_PROJECT_NAME $PHPSTAN_CONFIGURATION --no-progress || EXIT_CODE=$?
 ------ ---------------------------------------------------------------------- 
  Line   src/DrupalGuzzleCache.php                                             
 ------ ---------------------------------------------------------------------- 
  62     Class Drupal\Core\Cache\BackendChain does not have a constructor and  
         must be instantiated without any parameters.                          
 ------ ---------------------------------------------------------------------- 
 [ERROR] Found 1 error               

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇭🇺Hungary mxr576 Hungary

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024