Skip to content

Commit

Permalink
Make variables compatible with codeception 4
Browse files Browse the repository at this point in the history
  • Loading branch information
koehnlein committed Oct 2, 2023
1 parent 82bd180 commit 4eab3b1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Mailpit.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ class Mailpit extends Module

/**
* Codeception exposed variables.
*
* @var array<string>
*/
protected array $config = [
protected $config = [
'url',
'port',
'guzzleRequestOptions',
Expand All @@ -24,8 +26,10 @@ class Mailpit extends Module

/**
* Codeception required variables.
*
* @var array<string>
*/
protected array $requiredFields = ['url', 'port'];
protected $requiredFields = ['url', 'port'];

/**
* HTTP Client to interact with Mailpit.
Expand Down

0 comments on commit 4eab3b1

Please sign in to comment.