@ -1,4 +1,5 @@
includes:
- ../vendor/phpstan/phpstan/conf/bleedingEdge.neon
- ../vendor/phpstan/phpstan-phpunit/extension.neon
- ../vendor/phpstan/phpstan-deprecation-rules/rules.neon
- ../vendor/phpstan/phpstan-strict-rules/rules.neon
@ -42,7 +42,7 @@ class RuleSet implements \IteratorAggregate, \Countable
/** @var array<self::TYPE_*, Rule[]> */
protected $rules;
/** @var int */
/** @var 0|positive-int */
protected $nextRuleId = 0;
/** @var array<int|string, Rule|Rule[]> */
@ -321,7 +321,7 @@ class ArrayRepository implements RepositoryInterface
/**
* Returns the number of packages in this repository
*
* @return int Number of packages
* @return 0|positive-int Number of packages
*/
public function count(): int
{