src/Bunny/Channel.php
public function removeReturnListener(callable $callback)
    {
        foreach ($this->returnCallbacks as $k => $v) {
            if ($v === $callback) {
                unset($this->returnCallbacks[$k]);
            }
        }

        return $this;
    }
public function removeReturnListener(callable $callback)
    {
        foreach ($this->returnCallbacks as $k => $v) {
            if ($v === $callback) {
                unset($this->returnCallbacks[$k]);
            }
        }

        return $this;
    }
public function removeReturnListener ( callable $ callback ) { foreach ( $ this -> returnCallbacks as $ k => $ v ) { if ( $ v === $ callback ) { unset ( $ this -> returnCallbacks [ $ k ] ) ; } } return $ this ; }
Removes registered return listener. If the callback is not registered, this is noop.

@param callable $callback
@return $this
Removes registered return listener . If the callback is not registered this is noop .