#^Method Drupal\\\\key\\\\KeyInterface\\:\\:getKeyValue\\(\\) invoked with 1 parameter, 0 required\\.$#

Created on 23 July 2024, 9 months ago

Problem/Motivation

Getting this error from PHPStan (on level 8) for a custom code that calls this method and typehints the interface and not \Drupal\key\Entity\Key::getKeyValue() (which has a different signature).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇭🇺Hungary mxr576 Hungary

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

Comments & Activities

Production build 0.71.5 2024