Skip to content

Commit

Permalink
more consistent formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 8, 2015
1 parent 9411298 commit 4f0399d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/Mojo/Transaction/WebSocket.pm
Expand Up @@ -214,11 +214,7 @@ sub remote_port { shift->handshake->remote_port }
sub req { shift->handshake->req }
sub res { shift->handshake->res }

sub resume {
my $self = shift;
$self->handshake->resume;
return $self;
}
sub resume { $_[0]->handshake->resume and return $_[0] }

sub send {
my ($self, $msg, $cb) = @_;
Expand Down

0 comments on commit 4f0399d

Please sign in to comment.