rename method to fix naming conflict

Fixing bug: https://github.com/Homebrew/homebrew-php/issues/1269