变更
This commit is contained in:
@@ -86,4 +86,14 @@ class ConstrictResponse extends Message implements ResponseInterface
|
||||
// TODO: Implement getReasonPhrase() method.
|
||||
return $this->reasonPhrase;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param object $response
|
||||
* @return void
|
||||
*/
|
||||
public function write(object $response): void
|
||||
{
|
||||
$response->end($this->getBody()->getContents());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -316,14 +316,4 @@ class Response implements ResponseInterface
|
||||
// TODO: Implement getReasonPhrase() method.
|
||||
return $this->__call__(__FUNCTION__);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param object $response
|
||||
* @return void
|
||||
*/
|
||||
public function write(object $response): void
|
||||
{
|
||||
$response->end($this->getBody()->getContents());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user