Fixes issue #727 - must check that the method is a string before attempting to call method_exists, otherwise it could be a callable
Fixes issue #727 - must check that the method is a string before attempting to call method_exists, otherwise it could be a callable

ghamoron/phpspec,ghamoron/phpspec,sroze/phpspec,docteurklein/phpspec,nosun/phpspec,shanethehat/phpspec,pamil/phpspec,localheinz/phpspec,bestform/phpspec,carlosV2/phpspec,bestform/phpspec,Elfiggo/phpspec,danielkmariam/phpspec,Elfiggo/phpspec,pamil/phpspec,danielkmariam/phpspec,javi-dev/phpspec,javi-dev/phpspec,Harrisonbro/phpspec,Harrisonbro/phpspec,shanethehat/phpspec,docteurklein/phpspec,carlosV2/phpspec,nosun/phpspec,sroze/phpspec,localheinz/phpspec