This commit is contained in:
2021-02-20 16:15:01 +08:00
parent f672fab504
commit dc1b7a9c0b
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ use Exception;
use HttpServer\Application;
use HttpServer\IInterface\AuthIdentity;
use JetBrains\PhpStorm\Pure;
use ReflectionException;
use Snowflake\Core\Json;
use Snowflake\Exception\ComponentException;
@@ -202,7 +203,7 @@ class Request extends Application
/**
* @return string
*/
public function getCurrent(): string
#[Pure] public function getCurrent(): string
{
return current($this->explode);
}