Skip to content

Commit 7ab59f9

Browse files
committed
Update Response.php
1 parent 55ffd93 commit 7ab59f9

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/Response.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,10 @@
1515
class Response extends HttpResponse
1616
{
1717
/**
18-
* Переопределение отправки ответа.
19-
* @param int|null код статуса
20-
* @param string|null тело
21-
* @param array|null заголовки
18+
* Реализация реальной отправка ответа.
2219
*/
23-
public function send(int $code = null, string $body = null, array $headers = null)
20+
public function realSend()
2421
{
25-
parent::send($code, $body, $headers);
2622
$this->applyHeaders();
2723
echo $this->getBody();
2824
}

0 commit comments

Comments
 (0)