Explorar el Código

Update Request.php

walkor hace 4 años
padre
commit
839c5802bf
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;
         }