Skip to content

Commit ad2870e

Browse files
committed
strval
1 parent 0bd6379 commit ad2870e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Message.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct(
2929
) {
3030
$array = [];
3131
foreach ($translate as $key => $value) {
32-
$value = (string) $value;
32+
$value = strval($value);
3333
$array["%{$key}%"] = $value;
3434
$array["{{{$key}}}"] = $value;
3535
$array["{{ {$key} }}"] = $value;

0 commit comments

Comments
 (0)