Deploy: 2026-05-21 01:58:32
This commit is contained in:
@@ -13,6 +13,11 @@ class Request
|
||||
private array $bodyParams;
|
||||
private array $headers;
|
||||
|
||||
// Explicit properties to store authentication details to avoid deprecation warnings in PHP 8.2+
|
||||
public ?int $user_id = null;
|
||||
public ?int $company_id = null;
|
||||
public ?string $role = null;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->method = strtoupper($_SERVER['REQUEST_METHOD'] ?? 'GET');
|
||||
|
||||
Reference in New Issue
Block a user