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 12ba3d7 commit 2627699
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/LocationRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@ class LocationRequest extends Request implements Requestable
*/
protected ?string $ip;

/**
* Set the IP address to resolve.
*/
public function using(string $ip = null): static
{
$this->ip = $ip;

return $this;
}

/**
* Get the client IP address.
*/
Expand All @@ -37,6 +27,16 @@ public function ip(): string
return parent::ip();
}

/**
* Set the IP address to resolve.
*/
public function using(string $ip = null): static
{
$this->ip = $ip;

return $this;
}

/**
* Determine if location testing is enabled.
*/
Expand Down

0 comments on commit 2627699

Please sign in to comment.