Skip to content

Commit

Permalink
Re-order methods
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Jun 19, 2023
1 parent c16fd2e commit 2a35ac1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Requestable.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
interface Requestable
{
/**
* Set the IP address to resolve.
* Get the client IP address.
*/
public function using(string $ip = null): static;
public function ip(): string;

/**
* Get the client IP address.
* Set the IP address to resolve.
*/
public function ip(): string;
public function using(string $ip = null): static;
}

0 comments on commit 2a35ac1

Please sign in to comment.