From 3e228727fb645e05d0e0ac2cc01ac873be4a774b Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Wed, 26 May 2021 11:16:02 +0200
Subject: [PATCH] fixed static Request calls

---
 routes/web.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/routes/web.php b/routes/web.php
index 18be3329a..1c5d12de2 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -201,8 +201,8 @@ Route::group(
             Route::get('engine/stats.json', 'AdminInterface@engineStats');
             Route::get('check', 'AdminInterface@check');
             Route::get('engines', 'AdminInterface@engines');
-            Route::get('ip', function () {
-                dd(Request::ip(), $_SERVER["AGENT"]);
+            Route::get('ip', function (Request $request) {
+                dd($request->ip(), $_SERVER["AGENT"]);
             });
             Route::get('bot', 'HumanVerification@botOverview');
             Route::post('bot', 'HumanVerification@botOverviewChange');
@@ -233,8 +233,8 @@ Route::group(
         Route::get('r/metager/{mm}/{pw}/{url}', ['as' => 'humanverification', 'uses' => 'HumanVerification@removeGet']);
         Route::post('img/dog.jpg', 'HumanVerification@whitelist');
         Route::get('index.css', 'HumanVerification@browserVerification');
-        Route::get('index.js', function () {
-            $key = Request::input("id", "");
+        Route::get('index.js', function (Request $request) {
+            $key = $request->input("id", "");
 
             // Verify that key is a md5 checksum
             if (!preg_match("/^[a-f0-9]{32}$/", $key)) {
-- 
GitLab