From f4c46ce38a1062d2d87eac411c2dfb65e059b18a Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Fri, 27 Oct 2023 16:04:40 +0200 Subject: [PATCH] Fix phpstan errors --- src/Helpers/RequestHelper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Helpers/RequestHelper.php b/src/Helpers/RequestHelper.php index 1e09672..7481a4e 100644 --- a/src/Helpers/RequestHelper.php +++ b/src/Helpers/RequestHelper.php @@ -33,10 +33,10 @@ class RequestHelper { * @return Request */ public static function get(): Request { - if ( is_null( static::$request ) ) { - static::$request = Request::createFromGlobals(); + if ( is_null( self::$request ) ) { + self::$request = Request::createFromGlobals(); } - return static::$request; + return self::$request; } }