diff --git a/framework/base/Component.php b/framework/base/Component.php index 8fd7c6fa68..bfccadbd60 100644 --- a/framework/base/Component.php +++ b/framework/base/Component.php @@ -462,8 +462,8 @@ class Component extends BaseObject * * @return array the behavior configurations. * - * @phpstan-return array - * @psalm-return array + * @phpstan-return array + * @psalm-return array */ public function behaviors() { diff --git a/framework/base/Model.php b/framework/base/Model.php index afa74646e0..01510c1acf 100644 --- a/framework/base/Model.php +++ b/framework/base/Model.php @@ -161,8 +161,8 @@ class Model extends Component implements StaticInstanceInterface, IteratorAggreg * @return array validation rules * @see scenarios() * - * @phpstan-return array[] - * @psalm-return array[] + * @phpstan-return array[] + * @psalm-return array[] */ public function rules() { diff --git a/framework/web/AssetBundle.php b/framework/web/AssetBundle.php index 785262d54f..c6bdbed08c 100644 --- a/framework/web/AssetBundle.php +++ b/framework/web/AssetBundle.php @@ -102,8 +102,8 @@ class AssetBundle extends BaseObject * * Note that only a forward slash "/" should be used as directory separator. * - * @phpstan-var (string|array)[] - * @psalm-var (string|array)[] + * @phpstan-var (string|array)[] + * @psalm-var (string|array)[] */ public $js = []; /** @@ -112,8 +112,8 @@ class AssetBundle extends BaseObject * * Note that only a forward slash "/" should be used as directory separator. * - * @phpstan-var (string|array)[] - * @psalm-var (string|array)[] + * @phpstan-var (string|array)[] + * @psalm-var (string|array)[] */ public $css = []; /**