瀏覽代碼

analyse fix: Access to an undefined property

Chance 2 年之前
父節點
當前提交
a51b271d7b
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      src/Protocols/Http/Request.php

+ 7 - 0
src/Protocols/Http/Request.php

@@ -99,6 +99,13 @@ class Request
     protected static bool $enableCache = true;
 
     /**
+     * Session id.
+     *
+     * @var mixed|string
+     */
+    protected mixed $sid;
+
+    /**
      * Request constructor.
      *
      * @param string $buffer