Skip to content

Commit

Permalink
Fix phpcs violation
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Dec 8, 2023
1 parent af88d70 commit 297ca07
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/N98/Magento/Command/Customer/DeleteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,11 +323,12 @@ protected function batchDelete(\Magento\Customer\Model\ResourceModel\Customer\Co
* @param OutputInterface $output
* @return int
*/
protected function deleteAllCustomers($force, QuestionHelper $questionHelper, InputInterface $input, OutputInterface $output): int
{
// check if force is set
// if not, ask for confirmation

protected function deleteAllCustomers(
$force,
QuestionHelper $questionHelper,
InputInterface $input,
OutputInterface $output
): int {
if (!$force) {
$question = new ConfirmationQuestion(
'<question>WARNING: You are about to delete ALL customers. Are you sure?</question> <comment>[n]</comment>: ',
Expand Down

0 comments on commit 297ca07

Please sign in to comment.