aboutsummaryrefslogtreecommitdiff
path: root/cli/i18n/I18nValue.php
diff options
context:
space:
mode:
Diffstat (limited to 'cli/i18n/I18nValue.php')
-rw-r--r--cli/i18n/I18nValue.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/i18n/I18nValue.php b/cli/i18n/I18nValue.php
index aa2a670e1..ba6465062 100644
--- a/cli/i18n/I18nValue.php
+++ b/cli/i18n/I18nValue.php
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);
-class I18nValue {
+class I18nValue implements \Stringable {
private const STATE_DIRTY = 'dirty';
public const STATE_IGNORE = 'ignore';
private const STATE_TODO = 'todo';
@@ -11,7 +11,7 @@ class I18nValue {
self::STATE_TODO,
];
- private string $value;
+ private readonly string $value;
private ?string $state = null;
/** @param I18nValue|string $data */