| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | class HttpsProtocol |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Automatic redirect on cloudFlare |
||
| 13 | * |
||
| 14 | * @param Request $request |
||
| 15 | * @param Closure $next |
||
| 16 | * |
||
| 17 | * @return \Illuminate\Http\RedirectResponse|mixed |
||
| 18 | * |
||
| 19 | * @throws \InvalidArgumentException |
||
| 20 | */ |
||
| 21 | public function handle(Request $request, Closure $next) |
||
| 34 |