Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Jan 19, 2017
1 parent 4dc5812 commit 6427311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zend/classimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ zend_function *ClassImpl::getStaticMethod(zend_class_entry *entry, zend_string *
function->arg_info = nullptr;
function->num_args = 0;
function->required_num_args = 0;
function->scope = nullptr;
function->fn_flags = ZEND_ACC_CALL_VIA_HANDLER;
function->scope = entry;
function->fn_flags = ZEND_ACC_CALL_VIA_HANDLER | ZEND_ACC_STATIC;
function->function_name = method;

// store pointer to ourselves
Expand Down

0 comments on commit 6427311

Please sign in to comment.