diff --git a/modules/apigee_edge_teams/src/User/RemoveTeamRolesOfUserSynchronousPostUserDeleteActionPerformer.php b/modules/apigee_edge_teams/src/User/RemoveTeamRolesOfUserSynchronousPostUserDeleteActionPerformer.php index 3e284f04..b57b4cbe 100644 --- a/modules/apigee_edge_teams/src/User/RemoveTeamRolesOfUserSynchronousPostUserDeleteActionPerformer.php +++ b/modules/apigee_edge_teams/src/User/RemoveTeamRolesOfUserSynchronousPostUserDeleteActionPerformer.php @@ -23,7 +23,6 @@ use Drupal\apigee_edge\User\PostUserDeleteActionPerformerInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\user\UserInterface; -use Psr\Log\LoggerInterface; use Psr\Log\LogLevel; /** @@ -31,10 +30,27 @@ */ final class RemoveTeamRolesOfUserSynchronousPostUserDeleteActionPerformer implements PostUserDeleteActionPerformerInterface { + /** + * The decorated service. + * + * @var \Drupal\apigee_edge\User\PostUserDeleteActionPerformerInterface + */ + private PostUserDeleteActionPerformerInterface $decorated; + + /** + * Entity type manager. + * + * @var \Drupal\Core\Entity\EntityTypeManagerInterface + */ + private EntityTypeManagerInterface $entityTypeManager; + /** * Constructs a new object. */ - public function __construct(private readonly PostUserDeleteActionPerformerInterface $decorated, private readonly EntityTypeManagerInterface $entityTypeManager, private readonly LoggerInterface $logger) {} + public function __construct(PostUserDeleteActionPerformerInterface $decorated, EntityTypeManagerInterface $entityTypeManager) { + $this->entityTypeManager = $entityTypeManager; + $this->decorated = $decorated; + } /** * {@inheritdoc}