PHPStan/Psalm annotations for base class constructors (#20413)

This commit is contained in:
Максим Спирков
2025-06-13 23:27:33 +04:00
committed by GitHub
parent ed4f888136
commit b47f81ea27
6 changed files with 19 additions and 0 deletions

View File

@ -33,6 +33,9 @@ class InlineAction extends Action
* @param Controller $controller the controller that owns this action
* @param string $actionMethod the controller method that this inline action is associated with
* @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($id, $controller, $actionMethod, $config = [])
{