Skip to content

Commit

Permalink
Fix deprecated interpolation (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk authored May 31, 2023
1 parent 479b0b4 commit 6c85e88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Activity/ActivityCancellationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function serialize($value)
return false;

default:
$error = "Option #${value} is currently not supported";
$error = "Option #{$value} is currently not supported";
throw new \InvalidArgumentException($error);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Workflow/ChildWorkflowCancellationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function serialize($value)
return false;

default:
$error = "Option #${value} is currently not supported";
$error = "Option #{$value} is currently not supported";
throw new \InvalidArgumentException($error);
}
}
Expand Down

0 comments on commit 6c85e88

Please sign in to comment.