#13 Mark config classes as final

This commit is contained in:
chicory 2025-09-16 10:38:28 +03:00
parent 2beb5319cb
commit 54b9b1c24e
Signed by: chicory
GPG Key ID: AC95A793F70BEDCD
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ declare(strict_types=1);
namespace Runx\Infrastructure\Config; namespace Runx\Infrastructure\Config;
class Config final class Config
{ {
public function __construct( public function __construct(
public readonly LoggerConfig $logger, public readonly LoggerConfig $logger,

View File

@ -4,7 +4,7 @@ declare(strict_types=1);
namespace Runx\Infrastructure\Config; namespace Runx\Infrastructure\Config;
class LoggerConfig final class LoggerConfig
{ {
/** /**
* @param 'debug'|'info'|'warning'|'error' $level * @param 'debug'|'info'|'warning'|'error' $level