Skip to content

Commit

Permalink
strval
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Nov 30, 2023
1 parent 0bd6379 commit ad2870e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function __construct(
) {
$array = [];
foreach ($translate as $key => $value) {
$value = (string) $value;
$value = strval($value);
$array["%{$key}%"] = $value;
$array["{{{$key}}}"] = $value;
$array["{{ {$key} }}"] = $value;
Expand Down

0 comments on commit ad2870e

Please sign in to comment.