protected function _closeCurly()
{
$current = $this->_states['current'];
$this->_codeNode();
$current->close = '}';
if ($current->type === 'function') {
if ($current->isClosure) {
$current->close .= $this->_stream->next([')', ';', ',', ']']);
$this->_states['num'] += substr_count($current->close, "\n");
}
}
$this->_states['current'] = $current->parent;
if (!$this->_states['lines']) {
return;
}
$current->lines['stop'] = $this->_states['num'];
$current->parent->lines['stop'] = $this->_states['num'];
}