added TODO comment for fluent interfaces
parent
ec10a1ad82
commit
61c5559fb1
|
@ -574,6 +574,7 @@ class DefinitionResolver
|
||||||
// $this -> Type\this
|
// $this -> Type\this
|
||||||
// $myVariable -> type of corresponding assignment expression
|
// $myVariable -> type of corresponding assignment expression
|
||||||
if ($expr instanceof Node\Expression\Variable || $expr instanceof Node\UseVariableName) {
|
if ($expr instanceof Node\Expression\Variable || $expr instanceof Node\UseVariableName) {
|
||||||
|
// TODO: this will need to change when fluent interfaces are supported
|
||||||
if ($expr->getName() === 'this') {
|
if ($expr->getName() === 'this') {
|
||||||
return new Types\Object_(new Fqsen('\\' . $this->getContainingClassFqn($expr)));
|
return new Types\Object_(new Fqsen('\\' . $this->getContainingClassFqn($expr)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue