$extraHeaders * @phpstan-param array $extraOpts */ public function __construct( private string $page, private float $timeout = 10, private array $extraHeaders = [], private array $extraOpts = [] ){} public function getPage() : string{ return $this->page; } public function getTimeout() : float{ return $this->timeout; } /** * @return string[] * @phpstan-return list */ public function getExtraHeaders() : array{ return $this->extraHeaders; } /** * @return mixed[] * @phpstan-return array */ public function getExtraOpts() : array{ return $this->extraOpts; } }