Exemplo n.º 1
0
 protected function resolveOp_Expr_New(Operand $var, Op\Expr\New_ $op, SplObjectStorage $resolved)
 {
     $type = $this->getClassType($op->class, $resolved);
     if ($type) {
         return [$type];
     }
     return [Type::object()];
 }