diff --git a/.php_cs b/.php_cs index ba004c7..d8ec033 100644 --- a/.php_cs +++ b/.php_cs @@ -29,6 +29,7 @@ return Symfony\CS\Config\Config::create() '-phpdoc_params', /// All items of the @param, @throws, @return, @var, and @type phpdoc tags must be aligned vertically. '-phpdoc_scalar', /// Scalar types should always be written in the same form. "int", not "integer"; "bool", not "boolean". '-phpdoc_separation', /// Annotations of a different type are separated by a single blank line. + '-phpdoc_to_comment', /// Docblocks should only be used on structural elements 'header_comment', /// Add, replace or remove header comment. 'concat_with_spaces', /// Concatenation should be used with at least one whitespace around. 'ereg_to_preg', /// Replace deprecated ereg regular expression functions with preg. Warning! This could change code behavior. diff --git a/src/ActiveQuery.php b/src/ActiveQuery.php index 9ac374c..2315df6 100644 --- a/src/ActiveQuery.php +++ b/src/ActiveQuery.php @@ -11,7 +11,6 @@ namespace hiqdev\hiart; -use Yii; use yii\base\NotSupportedException; use yii\db\ActiveQueryInterface; use yii\db\ActiveQueryTrait; diff --git a/src/Collection.php b/src/Collection.php index d382ae8..6638b90 100644 --- a/src/Collection.php +++ b/src/Collection.php @@ -24,7 +24,7 @@ /** * Class Collection manages the collection of the models. * - * @var ActiveRecord[] $models the array of models in the collection + * @var ActiveRecord[] the array of models in the collection */ class Collection extends Component {