Skip to content

Fix: fully-qualify \Closure in docblock type hints for correct reflection-copy resolution - #59

Open
bolivir wants to merge 1 commit into
Codeception:mainfrom
bolivir:main
Open

Fix: fully-qualify \Closure in docblock type hints for correct reflection-copy resolution#59
bolivir wants to merge 1 commit into
Codeception:mainfrom
bolivir:main

Conversation

@bolivir

@bolivir bolivir commented Aug 26, 2026

Copy link
Copy Markdown

Fully qualify the type inline as \Closure in all three docblocks. Because the qualification lives in the docblock text itself, it survives being copied verbatim into any consumer's generated actor class — resolving correctly regardless of that file's namespace or its own imports.

…tion-copy resolution

Fully qualify the type inline as `\Closure` in all three docblocks. Because the qualification lives in the docblock text itself, it survives being copied verbatim into any consumer's generated actor class — resolving correctly regardless of that file's namespace or its own imports.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants