mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
PHPStan/Psalm annotations for base class constructors (#20413)
This commit is contained in:
@ -37,6 +37,9 @@ class ActionEvent extends Event
|
||||
* Constructor.
|
||||
* @param Action $action the action associated with this action event.
|
||||
* @param array $config name-value pairs that will be used to initialize the object properties
|
||||
*
|
||||
* @phpstan-param array<string, mixed> $config
|
||||
* @psalm-param array<string, mixed> $config
|
||||
*/
|
||||
public function __construct($action, $config = [])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user