mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-28 04:25:53 +08:00
Fix #20525: Add @template annotations for all actions
This commit is contained in:
@ -28,6 +28,7 @@ Yii Framework 2 Change Log
|
|||||||
- Enh #20514: Add `@property` annotations for `yii\console\Controller` (max-s-lab)
|
- Enh #20514: Add `@property` annotations for `yii\console\Controller` (max-s-lab)
|
||||||
- Bug #20515: Fix `@param` annotations in `BetweenColumnsCondition`, `InCondition` and `LikeCondition` (max-s-lab)
|
- Bug #20515: Fix `@param` annotations in `BetweenColumnsCondition`, `InCondition` and `LikeCondition` (max-s-lab)
|
||||||
- Bug #20516: Fix `@template` annotations in `ActiveRecord` (max-s-lab)
|
- Bug #20516: Fix `@template` annotations in `ActiveRecord` (max-s-lab)
|
||||||
|
- Enh #20525: Add `@template` annotations for all actions (max-s-lab)
|
||||||
- Bug #20524: Fix PHPStan/Psalm annotations in `Yii::createObject` (max-s-lab)
|
- Bug #20524: Fix PHPStan/Psalm annotations in `Yii::createObject` (max-s-lab)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -19,6 +19,9 @@ use Yii;
|
|||||||
*
|
*
|
||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
|
*
|
||||||
|
* @template T of Controller
|
||||||
|
* @extends Action<T>
|
||||||
*/
|
*/
|
||||||
class InlineAction extends Action
|
class InlineAction extends Action
|
||||||
{
|
{
|
||||||
|
|||||||
@ -11,6 +11,7 @@ use Yii;
|
|||||||
use yii\base\Action;
|
use yii\base\Action;
|
||||||
use yii\base\InvalidConfigException;
|
use yii\base\InvalidConfigException;
|
||||||
use yii\helpers\Url;
|
use yii\helpers\Url;
|
||||||
|
use yii\web\Controller;
|
||||||
use yii\web\Response;
|
use yii\web\Response;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -35,6 +36,9 @@ use yii\web\Response;
|
|||||||
*
|
*
|
||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
|
*
|
||||||
|
* @template T of Controller
|
||||||
|
* @extends Action<T>
|
||||||
*/
|
*/
|
||||||
class CaptchaAction extends Action
|
class CaptchaAction extends Action
|
||||||
{
|
{
|
||||||
|
|||||||
@ -19,6 +19,9 @@ use yii\web\ServerErrorHttpException;
|
|||||||
*
|
*
|
||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
|
*
|
||||||
|
* @template T of Controller
|
||||||
|
* @extends Action<T>
|
||||||
*/
|
*/
|
||||||
class CreateAction extends Action
|
class CreateAction extends Action
|
||||||
{
|
{
|
||||||
|
|||||||
@ -17,6 +17,9 @@ use yii\web\ServerErrorHttpException;
|
|||||||
*
|
*
|
||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
|
*
|
||||||
|
* @template T of Controller
|
||||||
|
* @extends Action<T>
|
||||||
*/
|
*/
|
||||||
class DeleteAction extends Action
|
class DeleteAction extends Action
|
||||||
{
|
{
|
||||||
|
|||||||
@ -21,6 +21,9 @@ use yii\helpers\ArrayHelper;
|
|||||||
*
|
*
|
||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
|
*
|
||||||
|
* @template T of Controller
|
||||||
|
* @extends Action<T>
|
||||||
*/
|
*/
|
||||||
class IndexAction extends Action
|
class IndexAction extends Action
|
||||||
{
|
{
|
||||||
|
|||||||
@ -19,6 +19,9 @@ use yii\web\ServerErrorHttpException;
|
|||||||
*
|
*
|
||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
|
*
|
||||||
|
* @template T of Controller
|
||||||
|
* @extends Action<T>
|
||||||
*/
|
*/
|
||||||
class UpdateAction extends Action
|
class UpdateAction extends Action
|
||||||
{
|
{
|
||||||
|
|||||||
@ -14,6 +14,9 @@ namespace yii\rest;
|
|||||||
*
|
*
|
||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
|
*
|
||||||
|
* @template T of Controller
|
||||||
|
* @extends Action<T>
|
||||||
*/
|
*/
|
||||||
class ViewAction extends Action
|
class ViewAction extends Action
|
||||||
{
|
{
|
||||||
|
|||||||
@ -47,6 +47,9 @@ use yii\base\UserException;
|
|||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @author Dmitry Naumenko <d.naumenko.a@gmail.com>
|
* @author Dmitry Naumenko <d.naumenko.a@gmail.com>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
|
*
|
||||||
|
* @template T of Controller
|
||||||
|
* @extends Action<T>
|
||||||
*/
|
*/
|
||||||
class ErrorAction extends Action
|
class ErrorAction extends Action
|
||||||
{
|
{
|
||||||
|
|||||||
@ -27,6 +27,9 @@ use yii\base\ViewNotFoundException;
|
|||||||
* @author Alexander Makarov <sam@rmcreative.ru>
|
* @author Alexander Makarov <sam@rmcreative.ru>
|
||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
|
*
|
||||||
|
* @template T of Controller
|
||||||
|
* @extends Action<T>
|
||||||
*/
|
*/
|
||||||
class ViewAction extends Action
|
class ViewAction extends Action
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user