Fix #20666: Add missing generics in yii\base, yii\console, yii\filters and yii\web namespaces

This commit is contained in:
Maksim Spirkov
2025-10-31 22:43:14 +03:00
committed by GitHub
parent 1821a61ddc
commit c569e9136b
32 changed files with 189 additions and 31 deletions

View File

@@ -77,6 +77,9 @@ class Behavior extends BaseObject
* and attach event handlers as declared in [[events]].
* Make sure you call the parent implementation if you override this method.
* @param Component $owner the component that this behavior is to be attached to.
*
* @phpstan-param T $owner
* @psalm-param T $owner
*/
public function attach($owner)
{