瀏覽代碼

Update Request.php

walkor 4 年之前
父節點
當前提交
839c5802bf
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Protocols/Http/Request.php

+ 2 - 2
Protocols/Http/Request.php

@@ -393,8 +393,8 @@ class Request
         $this->_data['headers'] = array();
         $raw_head = $this->rawHead();
         
-        $endFirsLinePosition = \strpos($raw_head, "\r\n");
-        if ($endFirsLinePosition === false) {
+        $end_line_position = \strpos($raw_head, "\r\n");
+        if ($end_line_position === false) {
             return;
         }