Skip to content

Commit

Permalink
Merge pull request #15 from artisansdk/1.0
Browse files Browse the repository at this point in the history
Merge 1.0 into Master
  • Loading branch information
dalabarge authored Dec 19, 2022
2 parents 7df4889 + 747df2e commit 470d3ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Contracts/Resolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function max(): int;
public function rate(): float;

/**
* Get the duration in minutes the rate limiter will timeout.
* Get the duration in seconds the rate limiter will timeout.
*/
public function duration(): int;
}
4 changes: 2 additions & 2 deletions src/Resolvers/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class User implements Resolver
protected $rate;

/**
* The duration in minutes the rate limiter will timeout.
* The duration in seconds the rate limiter will timeout.
*
* @var int|string
*/
Expand Down Expand Up @@ -101,7 +101,7 @@ public function rate(): float
}

/**
* Get the duration in minutes the rate limiter will timeout.
* Get the duration in seconds the rate limiter will timeout.
*/
public function duration(): int
{
Expand Down

0 comments on commit 470d3ca

Please sign in to comment.