mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Added phpdocs to StreamResponse
This commit is contained in:
parent
1e34e9c0f0
commit
27256adf1f
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user