@@ -103,11 +103,11 @@ |
||
| 103 | 103 | return new static($quota, 1); |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | - /** |
|
| 107 | - * Set quota to be used per minute |
|
| 108 | - * @param int $quota |
|
| 109 | - * @return self |
|
| 110 | - */ |
|
| 106 | + /** |
|
| 107 | + * Set quota to be used per minute |
|
| 108 | + * @param int $quota |
|
| 109 | + * @return self |
|
| 110 | + */ |
|
| 111 | 111 | public static function perMinute(int $quota): self |
| 112 | 112 | { |
| 113 | 113 | return new static($quota, 60); |
@@ -71,9 +71,9 @@ |
||
| 71 | 71 | $this->session = $session; |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - /** |
|
| 75 | - * {@inheritdoc} |
|
| 76 | - */ |
|
| 74 | + /** |
|
| 75 | + * {@inheritdoc} |
|
| 76 | + */ |
|
| 77 | 77 | public function set(string $key, float $value, int $ttl): bool |
| 78 | 78 | { |
| 79 | 79 | $this->session->set($key, [ |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | class ApcuStorage implements RateLimitStorageInterface |
| 58 | 58 | { |
| 59 | - /** |
|
| 59 | + /** |
|
| 60 | 60 | * Create new instance |
| 61 | 61 | */ |
| 62 | 62 | public function __construct() |
@@ -67,9 +67,9 @@ discard block |
||
| 67 | 67 | } |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | - /** |
|
| 71 | - * {@inheritdoc} |
|
| 72 | - */ |
|
| 70 | + /** |
|
| 71 | + * {@inheritdoc} |
|
| 72 | + */ |
|
| 73 | 73 | public function set(string $key, float $value, int $ttl): bool |
| 74 | 74 | { |
| 75 | 75 | return apcu_store($key, $value, $ttl); |