@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | { |
| 22 | 22 | $this->requestServerVars(); |
| 23 | 23 | |
| 24 | - collect($this->target->config['vars'])->each(function ($var) { |
|
| 24 | + collect($this->target->config['vars'])->each(function($var) { |
|
| 25 | 25 | $this->checkVar($var); |
| 26 | 26 | }); |
| 27 | 27 | |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | { |
| 90 | 90 | $url = route($this->target->config['route']); |
| 91 | 91 | |
| 92 | - if ($queryString = $this->target->config['query_string']) { |
|
| 92 | + if ($queryString = $this->target->config['query_string']) { |
|
| 93 | 93 | $url .= "?$queryString"; |
| 94 | 94 | } |
| 95 | 95 | |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | public function protect($timeout) |
| 32 | 32 | { |
| 33 | - $cacheKey = Constants::SERVER_VARS_CACHE_KEY_PREFIX . '-' . Str::random(); |
|
| 33 | + $cacheKey = Constants::SERVER_VARS_CACHE_KEY_PREFIX.'-'.Str::random(); |
|
| 34 | 34 | |
| 35 | 35 | Cache::put($cacheKey, $cacheKey, $timeout ?? 60); |
| 36 | 36 | |