From fd4c9f0e1bfcfaa0f67778b557e632a30ac7e513 Mon Sep 17 00:00:00 2001 From: Seth Shaw Date: Tue, 29 Oct 2019 08:57:01 -0700 Subject: [PATCH] make local functions protected --- src/Commands/IslandoraCommands.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Commands/IslandoraCommands.php b/src/Commands/IslandoraCommands.php index a2165d31..262b4518 100644 --- a/src/Commands/IslandoraCommands.php +++ b/src/Commands/IslandoraCommands.php @@ -53,7 +53,7 @@ class IslandoraCommands extends DrushCommands { /** * Validate the provided userid. */ - public function validateUser(CommandData $commandData) { + protected function validateUser(CommandData $commandData) { $userid = $commandData->input()->getOption('userid'); if ($userid) { $account = User::load($userid); @@ -84,7 +84,7 @@ class IslandoraCommands extends DrushCommands { /** * Switch the active user account using the provided userid. */ - public function switchUser(CommandData $commandData) { + protected function switchUser(CommandData $commandData) { $userid = $commandData->input()->getOption('userid'); if ($userid) { $account = User::load($userid); @@ -125,7 +125,7 @@ class IslandoraCommands extends DrushCommands { /** * Switch the user back. */ - public function switchUserBack(CommandData $commandData) { + protected function switchUserBack(CommandData $commandData) { if ($commandData->input()->getOption('userid')) { $accountSwitcher = \Drupal::service('account_switcher'); $this->logger()->notice(dt(