Fix strict standards warning

This method is called statically, so it should be declared static.