Skip to content

Commit 6eb1748

Browse files
committed
ensure name is set properly
Signed-off-by: Robert Landers <landers.robert@gmail.com>
1 parent c7d4508 commit 6eb1748

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/State/EntityHistory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ private function execute(Event $original, string $operation, array $input): Gene
213213
try {
214214
if (str_contains($operation, '::')) {
215215
[$property, $operation] = explode('::', $operation);
216+
$property = str_replace('$', '', $property);
216217
$result = match ($operation) {
217218
'get' => $this->state->{$property},
218219
'set' => $this->state->{$property} = $input[0],

0 commit comments

Comments
 (0)