Skip to content

Commit 25b1494

Browse files
committed
Fix compatibility with Codeception 5
1 parent f9c6b0f commit 25b1494

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"require": {
1515
"php": "^8.0",
1616
"ext-dom": "*",
17-
"codeception/codeception": "^5.0.0-alpha1",
17+
"codeception/codeception": "^5.0.0-alpha3",
1818
"codeception/lib-innerbrowser": "^2.0 | *@dev",
1919
"codeception/lib-xml": "^1.0"
2020
},

src/Codeception/Module/SOAP.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
class SOAP extends Module implements DependsOnModule
5555
{
5656
/**
57-
* @var array
57+
* @var array<string, mixed>
5858
*/
59-
protected $config = [
59+
protected array $config = [
6060
'schema' => "",
6161
'schema_url' => 'http://schemas.xmlsoap.org/soap/envelope/',
6262
'framework_collect_buffer' => true
@@ -65,7 +65,7 @@ class SOAP extends Module implements DependsOnModule
6565
/**
6666
* @var string[]
6767
*/
68-
protected $requiredFields = ['endpoint'];
68+
protected array $requiredFields = ['endpoint'];
6969

7070
protected string $dependencyMessage = <<<EOF
7171
Example using PhpBrowser as backend for SOAP module.

0 commit comments

Comments
 (0)