From 904213797cf347b634286682226b692ae7fe65d2 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Sun, 23 Jan 2022 10:47:51 -0100 Subject: [PATCH] naming Signed-off-by: Maxence Lange --- lib/Command/CirclesMemberships.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Command/CirclesMemberships.php b/lib/Command/CirclesMemberships.php index d7ef21046..3326a82da 100644 --- a/lib/Command/CirclesMemberships.php +++ b/lib/Command/CirclesMemberships.php @@ -103,7 +103,7 @@ class CirclesMemberships extends Base { private $circleService; /** @var MembershipService */ - private $membershipsService; + private $membershipService; /** @var ConfigService */ private $configService; @@ -126,7 +126,7 @@ class CirclesMemberships extends Base { * @param CircleRequest $circleRequest * @param FederatedUserService $federatedUserService * @param CircleService $circleService - * @param MembershipService $membershipsService + * @param MembershipService $membershipService * @param ConfigService $configService */ public function __construct( @@ -136,7 +136,7 @@ public function __construct( CircleRequest $circleRequest, FederatedUserService $federatedUserService, CircleService $circleService, - MembershipService $membershipsService, + MembershipService $membershipService, ConfigService $configService ) { parent::__construct(); @@ -146,7 +146,7 @@ public function __construct( $this->circleRequest = $circleRequest; $this->federatedUserService = $federatedUserService; $this->circleService = $circleService; - $this->membershipsService = $membershipsService; + $this->membershipService = $membershipService; $this->configService = $configService; } @@ -220,7 +220,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $output->writeln(''); $output->writeln('Memberships:'); - $count = $this->membershipsService->manageMemberships($federatedUser->getSingleId()); + $count = $this->membershipService->manageMemberships($federatedUser->getSingleId()); if ($count === 0) { $output->writeln('(database not updated)'); } else { @@ -383,7 +383,7 @@ private function manageAllMemberships() { foreach ($circles as $circle) { $owner = $circle->getOwner(); - $updated = $this->membershipsService->manageMemberships($circle->getSingleId()); + $updated = $this->membershipService->manageMemberships($circle->getSingleId()); $count += $updated; $federatedUser = $this->circleRequest->getFederatedUserBySingleId($circle->getSingleId()); $table->appendRow(