Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use consistent code style
  • Loading branch information
zoffixznet committed Jan 2, 2017
1 parent c1e0d8f commit 37941d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/IO/Socket/INET.pm
Expand Up @@ -59,7 +59,7 @@ my class IO::Socket::INET does IO::Socket {
}

# Create new socket that listens on $localhost:$localport
multi method new (
multi method new(
Bool:D :$listen!,
Str :$localhost is copy,
Int :$localport is copy,
Expand Down Expand Up @@ -88,7 +88,7 @@ my class IO::Socket::INET does IO::Socket {
}

# Open new connection to socket on $host:$port
multi method new (
multi method new(
Str:D :$host! is copy,
Int :$port is copy,
Int :$family where {
Expand All @@ -114,7 +114,7 @@ my class IO::Socket::INET does IO::Socket {
}

# Fail if no valid parameters are passed
multi method new {
multi method new() {
fail "Nothing given for new socket to connect or bind to";
}

Expand Down

0 comments on commit 37941d9

Please sign in to comment.