Added phpdocs to StreamResponse

This commit is contained in:
buddh4 2020-10-21 15:23:16 +02:00
parent 1e34e9c0f0
commit 27256adf1f

View File

@ -43,12 +43,12 @@ class StreamResponse
private $lastContentId;
/**
* @var
* @var string
*/
public $error;
/**
* @var
* @var int
*/
public $errorCode;
@ -92,8 +92,9 @@ class StreamResponse
}
/**
* Can be used to set error information
* @param $msg
* Can be used to set error information.
* @param $code int
* @param $msg string
*/
public function setError($code, $msg)
{