mirror of
https://github.com/yiisoft/yii2.git
synced 2026-02-20 00:32:19 +01:00
Fix #20571: Fix @var annotation for yii\web\Response::$stream
This commit is contained in:
@@ -39,6 +39,7 @@ Yii Framework 2 Change Log
|
||||
- Bug #20541: Remove deprecated caching components: `XCache` and `ZendDataCache`, and update related tests and documentation (terabytesoftw)
|
||||
- Bug #20548: Fix PHP `8.5` `null` array offset deprecation warnings (terabytesoftw)
|
||||
- Enh #19526: Add the `convertIniSizeToBytes` method to `BaseStringHelper` (max-s-lab)
|
||||
- Bug #20571: Fix `@var` annotation for `yii\web\Response::$stream` (max-s-lab)
|
||||
|
||||
|
||||
2.0.53 June 27, 2025
|
||||
|
||||
@@ -134,7 +134,7 @@ class Response extends \yii\base\Response
|
||||
*/
|
||||
public $content;
|
||||
/**
|
||||
* @var resource|array|callable the stream to be sent. This can be a stream handle or an array of stream handle,
|
||||
* @var resource|array|callable|null the stream to be sent. This can be a stream handle or an array of stream handle,
|
||||
* the begin position and the end position. Alternatively it can be set to a callable, which returns
|
||||
* (or [yields](https://www.php.net/manual/en/language.generators.syntax.php)) an array of strings that should
|
||||
* be echoed and flushed out one by one.
|
||||
@@ -239,7 +239,7 @@ class Response extends \yii\base\Response
|
||||
*/
|
||||
private $_statusCode = 200;
|
||||
/**
|
||||
* @var HeaderCollection
|
||||
* @var HeaderCollection|null
|
||||
*/
|
||||
private $_headers;
|
||||
|
||||
@@ -946,6 +946,9 @@ class Response extends \yii\base\Response
|
||||
return $this->redirect(Yii::$app->getRequest()->getUrl() . $anchor);
|
||||
}
|
||||
|
||||
/**
|
||||
* @var CookieCollection|null
|
||||
*/
|
||||
private $_cookies;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user