mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-14 18:31:22 +08:00
Fix #20666: Add missing generics in yii\base, yii\console, yii\filters and yii\web namespaces
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user