pbyrne84 / DynamicReturnTypePlugin

135 stars 7 forks source link

Constant Evaluation #54

Open splitice opened 8 years ago

splitice commented 8 years ago

Would it be possible to evaluate very simple concatenation within the parameter?

We use the following quite alot:

$typedobject->func('thename',\TheClass::class.'[]');

While I understand the parameter cant be evaluated, appending an array indicator on the end is pretty common I guess?

pbyrne84 commented 8 years ago

HonzaMac has another signare thing https://github.com/pbyrne84/DynamicReturnTypePlugin/issues/63

I'll have a look at them together.