fixed php class (static vs non static) methods