summaryrefslogtreecommitdiff
path: root/Lib/php/director.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/php/director.swg')
-rw-r--r--Lib/php/director.swg3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/php/director.swg b/Lib/php/director.swg
index 06eeb73b0..92c149999 100644
--- a/Lib/php/director.swg
+++ b/Lib/php/director.swg
@@ -98,8 +98,7 @@ namespace Swig {
TSRMLS_SET_CTX(swig_zts_ctx);
}
- bool swig_is_overridden_method(char *cname, char *lc_fname) {
- TSRMLS_FETCH_FROM_CTX(swig_zts_ctx);
+ static bool swig_is_overridden_method(char *cname, char *lc_fname TSRMLS_DC) {
zend_class_entry **ce;
zend_function *mptr;