diff --git a/composer.json b/composer.json index 6dce887..3ad0e1d 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "require": { "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "ext-json": "*", - "codeception/codeception": "^4.0", + "codeception/codeception": "^5.0", "guzzlehttp/guzzle": "^6.1 || ^7.0" }, "require-dev": { diff --git a/src/Mailpit.php b/src/Mailpit.php index f0c3d00..c515cf7 100644 --- a/src/Mailpit.php +++ b/src/Mailpit.php @@ -13,10 +13,8 @@ class Mailpit extends Module /** * Codeception exposed variables. - * - * @var array */ - protected $config = [ + protected array $config = [ 'url', 'port', 'guzzleRequestOptions', @@ -26,10 +24,8 @@ class Mailpit extends Module /** * Codeception required variables. - * - * @var array */ - protected $requiredFields = ['url', 'port']; + protected array $requiredFields = ['url', 'port']; /** * HTTP Client to interact with Mailpit.