This commit is contained in:
TomasVotruba 2017-10-23 12:58:58 +02:00
parent c1668134c2
commit 01143eeada

View File

@ -40,6 +40,7 @@ final class AssignTypeResolver implements PerNodeTypeResolverInterface, NodeType
public function resolve(Node $assignNode): ?string
{
if (! $assignNode->var instanceof Variable) {
// @todo: resolve for properties etc. as well
return null;
}