Skip to content

Commit 17f39b3

Browse files
committed
Improved support for Codeception 5/PHP 8
1 parent 3deb877 commit 17f39b3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A Codeception module for testing web application over HTTP.
99

1010
## Requirements
1111

12-
* `PHP 7.4` or higher.
12+
* `PHP 8.0` or higher.
1313

1414
## Installation
1515

src/Codeception/Module/PhpBrowser.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ class PhpBrowser extends InnerBrowser implements Remote, MultiSession
8383
/**
8484
* @var string[]
8585
*/
86-
protected $requiredFields = ['url'];
86+
protected array $requiredFields = ['url'];
8787

8888
/**
89-
* @var array
89+
* @var array<string, mixed>
9090
*/
91-
protected $config = [
91+
protected array $config = [
9292
'headers' => [],
9393
'verify' => false,
9494
'expect' => false,

0 commit comments

Comments
 (0)