From 4aa204858bae16b5ef9e8cf63f7d9071cd3141fd Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 5 Sep 2017 11:27:07 +0200 Subject: [PATCH] fixes #94 --- Message/ResponseAbstract.php | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/Message/ResponseAbstract.php b/Message/ResponseAbstract.php index 9ec57d229..be717f379 100644 --- a/Message/ResponseAbstract.php +++ b/Message/ResponseAbstract.php @@ -46,14 +46,6 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable */ protected $response = []; - /** - * Response status. - * - * @var int - * @since 1.0.0 - */ - protected $status = 0; - /** * Account. * @@ -108,25 +100,6 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable $this->response = ArrayUtils::setArray((string) $key, $this->response, $response, ':', $overwrite); } - /** - * {@inheritdoc} - * todo: shouldn't this only be available in the header?! - */ - public function setStatusCode(int $status) /* : void */ - { - $this->status = $status; - $this->header->generate($status); - } - - /** - * {@inheritdoc} - * todo: shouldn't this only be available in the header?! - */ - public function getStatusCode() : int - { - return $this->status; - } - /** * {@inheritdoc} */