@@ -23,17 +23,17 @@ |
||
| 23 | 23 | |
| 24 | 24 | $link = $request->get(\Linkeys\UrlSigner\Models\Link::class); |
| 25 | 25 | |
| 26 | - if($link->clickLimitReached()) { |
|
| 26 | + if ($link->clickLimitReached()) { |
|
| 27 | 27 | throw new LinkClickLimitReachedException; |
| 28 | 28 | } |
| 29 | - if($link->group && $link->group->clickLimitReached()) { |
|
| 29 | + if ($link->group && $link->group->clickLimitReached()) { |
|
| 30 | 30 | throw new LinkGroupClickLimitReachedException; |
| 31 | 31 | } |
| 32 | - if($link->expired()) { |
|
| 32 | + if ($link->expired()) { |
|
| 33 | 33 | throw new LinkExpiredException; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - if($link->group && $link->group->expired() && $link->expiry === null) { |
|
| 36 | + if ($link->group && $link->group->expired() && $link->expiry === null) { |
|
| 37 | 37 | throw new LinkGroupExpiredException; |
| 38 | 38 | } |
| 39 | 39 | |