src/Console/HCCreateSuperAdminCommand.php
private function createSuperAdmin(): void
    {
        $this->getEmail();

        $this->info('');
        $this->comment('Creating default super-admin user...');
        $this->info('');

        $this->checkIfAdminExists();

        $this->getPassword();

        $this->createAdmin();

        $this->comment('Super admin account successfully created!');
        $this->comment('Your email: ');
        $this->error($this->email);

        $this->info('');
    }
private function createSuperAdmin(): void
    {
        $this->getEmail();

        $this->info('');
        $this->comment('Creating default super-admin user...');
        $this->info('');

        $this->checkIfAdminExists();

        $this->getPassword();

        $this->createAdmin();

        $this->comment('Super admin account successfully created!');
        $this->comment('Your email: ');
        $this->error($this->email);

        $this->info('');
    }
private function createSuperAdmin ( ) : void { $ this -> getEmail ( ) ; $ this -> info ( '' ) ; $ this -> comment ( 'Creating default super-admin user...' ) ; $ this -> info ( '' ) ; $ this -> checkIfAdminExists ( ) ; $ this -> getPassword ( ) ; $ this -> createAdmin ( ) ; $ this -> comment ( 'Super admin account successfully created!' ) ; $ this -> comment ( 'Your email: ' ) ; $ this -> error ( $ this -> email ) ; $ this -> info ( '' ) ; }
Create super admin account
Create super admin account