summaryrefslogtreecommitdiffstats
path: root/languages/php/phpfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/php/phpfile.cpp')
-rw-r--r--languages/php/phpfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/php/phpfile.cpp b/languages/php/phpfile.cpp
index 3e3fbd68..974698d3 100644
--- a/languages/php/phpfile.cpp
+++ b/languages/php/phpfile.cpp
@@ -346,7 +346,7 @@ bool PHPFile::ParseReturn(TQString line, int lineNo) {
while ( it != m_vars.end() ) {
Action *p = *it++;
- if (p->tqparent() == current && p->name() == varname) {
+ if (p->parent() == current && p->name() == varname) {
rettype = p->args();
}
}