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} */