Active
Project:
Coder
Version:
9.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Jun 2026 at 08:05 UTC
Updated:
30 Jun 2026 at 08:29 UTC
Jump to comment: Most recent
Comments
Comment #2
wim leersTheory confirmed: removing the
@phpstan-import-typeand declaring locally works.Note that this is even true for indirect imports. In my case, I'm using
→ top of the same file:
→ that one depends on an import:
@phpstan-import-type OptimizedSingleComponentInputArray from \Drupal\canvas\Plugin\DataType\ComponentInputs⇒ work-around: https://git.drupalcode.org/project/canvas/-/merge_requests/1309/diffs?co...