Skip to content

Improve the conversion of Callable to a string - #259

Merged
jaapio merged 4 commits into
phpDocumentor:2.xfrom
mspirkov:callable-to-string-conversion
Dec 2, 2025
Merged

Improve the conversion of Callable to a string#259
jaapio merged 4 commits into
phpDocumentor:2.xfrom
mspirkov:callable-to-string-conversion

Conversation

@mspirkov

@mspirkovmspirkov commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

Fix: #256

@mspirkov
mspirkov marked this pull request as ready for review December 1, 2025 08:37
@mspirkov

Copy link
Copy Markdown
ContributorAuthor

@jaapio After that, I want to test how it works on a few Yii packages. Do you have any other ideas for improvements?

Comment threadsrc/Types/CallableParameter.php Outdated
@jaapio
jaapio merged commit e4fb16e into phpDocumentor:2.xDec 2, 2025
29 checks passed
@jaapio

jaapio commented Dec 2, 2025

Copy link
Copy Markdown
Member

Not right now. When needed we can always create a V3. But I think we are on the right track now to support generics. I will try to implement this in phpDocumentor and the more downstream libraries.

Maybe someday, it would be good to have a conversation about what you would need extra in yii. I would like to hear why yii has its own tool. And what it does.

Maybe we can find each other in a slack or discord?

@mspirkov

Copy link
Copy Markdown
ContributorAuthor

My discord: discordapp.com/users/785545366049128509

@mspirkov

Copy link
Copy Markdown
ContributorAuthor

Then I'll check tomorrow to see if everything is working properly and let you know!

@mspirkov

Copy link
Copy Markdown
ContributorAuthor

I found something else that needs to be corrected/added. I'll do it today.

Sign up for freeto 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.

Improve the conversion of Callable to a string

2 participants

@mspirkov@jaapio