From b603574e4355dac6e0a75d5bffd3c027ad19704d Mon Sep 17 00:00:00 2001
From: =?utf8?q?Rapha=C3=ABl=20Gertz?= <git@rapsys.eu>
Date: Thu, 7 Mar 2024 21:46:25 +0100
Subject: [PATCH] Remove getAlias function Cleanup

---
 Command/RekeyCommand.php | 26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)

diff --git a/Command/RekeyCommand.php b/Command/RekeyCommand.php
index d25009c..4ad8dfc 100644
--- a/Command/RekeyCommand.php
+++ b/Command/RekeyCommand.php
@@ -18,14 +18,13 @@ use Symfony\Component\Console\Output\OutputInterface;
 use Rapsys\AirBundle\Command;
 use Rapsys\AirBundle\Entity\Session;
 
+/**
+ * {@inheritdoc}
+ */
 class RekeyCommand extends DoctrineCommand {
-	//Set failure constant
-	const FAILURE = 1;
-
-	///Set success constant
-	const SUCCESS = 0;
-
-	///Configure attribute command
+	/**
+	 * Configure attribute command
+	 */
 	protected function configure() {
 		//Configure the class
 		$this
@@ -37,7 +36,9 @@ class RekeyCommand extends DoctrineCommand {
 			->setHelp('This command rekey sessions in chronological order');
 	}
 
-	///Process the attribution
+	/**
+	 * Process the attribution
+	 */
 	protected function execute(InputInterface $input, OutputInterface $output): int {
 		//Fetch doctrine
 		$doctrine = $this->getDoctrine();
@@ -51,13 +52,4 @@ class RekeyCommand extends DoctrineCommand {
 		//Return success
 		return self::SUCCESS;
 	}
-
-	/**
-	 * Return the bundle alias
-	 *
-	 * {@inheritdoc}
-	 */
-	public function getAlias(): string {
-		return 'rapsys_air';
-	}
 }
-- 
2.41.3