update patch 1
This commit is contained in:
+5
-9
@@ -19,15 +19,11 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
||||
*/
|
||||
class TranslatableMessage implements TranslatableInterface
|
||||
{
|
||||
private string $message;
|
||||
private array $parameters;
|
||||
private ?string $domain;
|
||||
|
||||
public function __construct(string $message, array $parameters = [], ?string $domain = null)
|
||||
{
|
||||
$this->message = $message;
|
||||
$this->parameters = $parameters;
|
||||
$this->domain = $domain;
|
||||
public function __construct(
|
||||
private string $message,
|
||||
private array $parameters = [],
|
||||
private ?string $domain = null,
|
||||
) {
|
||||
}
|
||||
|
||||
public function __toString(): string
|
||||
|
||||
Reference in New Issue
Block a user