We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86c81c4 commit 85b00f1Copy full SHA for 85b00f1
lib/AnyEvent/RipeRedis.pm
@@ -916,7 +916,7 @@ sub _disconnect {
916
$self->_abort($err);
917
918
if ( $was_connected && defined $self->{on_disconnect} ) {
919
- $self->{on_disconnect}->($self);
+ $self->{on_disconnect}->();
920
}
921
922
return;
t/04-commands.t
@@ -740,7 +740,7 @@ sub t_discard {
740
sub t_execute {
741
my $redis = shift;
742
743
- can_ok( $REDIS, 'execute' );
+ can_ok( $redis, 'execute' );
744
745
my $t_reply;
746
0 commit comments