diff --git a/Classes/Feature/RebaseableCommand.php b/Classes/Feature/RebaseableCommand.php index 2979d3f3..3c8a9627 100644 --- a/Classes/Feature/RebaseableCommand.php +++ b/Classes/Feature/RebaseableCommand.php @@ -81,7 +81,7 @@ public static function enrichWithCommand( if ($i === 0) { if (!$command instanceof \JsonSerializable) { throw new \RuntimeException(sprintf( - 'Command %s must be JSON Serializable to be used with NodeAggregateEventPublisher.', + 'Command %s must be JSON Serializable to be rebase able.', get_class($command) )); }