expression = $expression; $this->if_true = $if_true; $this->if_false = $if_false; } public function type() { if ($type = $this->if_true->type()) { return $type; } return $this->if_false->type(); } }