Commit a69004b4 authored by Alain Laporte's avatar Alain Laporte Committed by Christoph Cullmann
Browse files

PHP parser: remove inClass which is always true

parent cdf42011
Pipeline #196904 passed with stage
in 23 minutes and 46 seconds
......@@ -227,7 +227,7 @@ void KatePluginSymbolViewerView::parsePhpSymbols(void)
if (inClass && !inFunction) {
match = varRegExp.match(line);
if (match.hasMatch()) {
if (m_treeOn->isChecked() && inClass) {
if (m_treeOn->isChecked()) {
node = new QTreeWidgetItem(lastClassNode);
} else {
node = new QTreeWidgetItem(m_symbols);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment