Lines Matching refs:int
24 * @phpstan-implements \IteratorAggregate<int, T>
25 * @phpstan-implements \ArrayAccess<int, T>
30 * @var array<int, mixed>
31 * @phpstan-var array<int, T>
38 * @param array<int|string, mixed> $elements
40 * @phpstan-param array<int, T> $elements
70 * @return \ArrayIterator<int, mixed>
72 * @phpstan-return \ArrayIterator<int, T>
83 * @return int The count as an integer.
85 public function count(): int
95 * @phpstan-param int $offset
107 * @phpstan-param int $offset
122 * @phpstan-param int|null $offset
140 * @phpstan-param int $offset
155 * @return array<int, mixed>
157 * @phpstan-return array<int, T>
159 public function slice(int $offset, ?int $length = null): array
165 * @return array<int, mixed>
167 * @phpstan-return array<int, T>