Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
rest.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2026 at 08:27 UTC
Updated:
21 Jul 2026 at 21:25 UTC
Jump to comment: Most recent
Discovered via #3480051: Add return typehints to file test methods in \Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait:
protected function getExpectedNormalizedEntity() {
protected function applyXmlConfigEntityDecodingQuirks(array $normalization) {
We should add return types here so eventually we can add them to the base class as well.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
longwaveComment #4
smustgrave commentedSeems straight forward. Bummer didn't touch any of the phpstan baseline.
Comment #8
godotislateCommitted and pushed 2edb8ab to main and 06dfa45 to 11.x. Thanks!