*/ private array $parameters; public function __construct(string|int $key, ArrayKeyType $type) { $this->parameters = [ 'key' => ValueDumper::dump($key), 'expected_type' => '`' . $type->toString() . '`', ]; } public function body(): string { return $this->body; } public function code(): string { return $this->code; } public function parameters(): array { return $this->parameters; } }