Skip to content

Commit

Permalink
Fix #5779. php:cli fatal - too much escaping classname (#5780)
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman authored Oct 11, 2023
1 parent cb2610d commit 3863b9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/core/CliCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ public function makeEntitiesAvailableWithShortClassNames(): void
continue;
}
// Make it possible to easily load revisions.
eval(sprintf('class %s extends \%s {
eval(sprintf('class %s extends %s {
public static function loadRevision($id) {
$entity_type_repository = \Drupal::service("entity_type.repository");
$entity_type_manager = \Drupal::entityTypeManager();
Expand Down

0 comments on commit 3863b9f

Please sign in to comment.