Skip to content

How force set param in every use of "new Class(...., $param)" #8233

Answered by TomasVotruba
fernirek asked this question in Q&A
Discussion options

You must be logged in to vote

That would be New_ node. Then $node->getArgs() called on it.

This node documentation might give you more hints: https://github.com/rectorphp/php-parser-nodes-docs#phpparsernodeexprnew_

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TomasVotruba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants