protected function addLastNode() { if ($this->lastNode === null) { return; } if ($this->currentContainer->getFirstClass() === false) { $this->currentContainer->addPreClassStatements($this->lastNode); } else { $this->currentContainer->addPostClassStatements($this->lastNode); } $this->lastNode = null; }
protected function addLastNode() { if ($this->lastNode === NULL) { return; } if ($this->currentContainer->getFirstClass() === FALSE) { $this->currentContainer->addPreClassStatements($this->lastNode); } else { $this->currentContainer->addPostClassStatements($this->lastNode); } $this->lastNode = NULL; }