code: function removePhaseListener(priv, listener) {
    check(listener, 'listener').is.aFunction.and.is.oneOf(priv.listeners, 'registered listeners')();
    priv.listeners.splice(priv.listeners.indexOf(listener), 1);
  }
docs: Removes passed listener from the phaser.
  
  @param {Function} listener listener to be removed
  @fqn Phaser.prototype.removePhaseListener