src/Console/CleanCommand.php
protected function deleteUnassignedAbilities()
    {
        $query = $this->getUnassignedAbilitiesQuery();

        if (($count = $query->count()) > 0) {
            $query->delete();

            $this->info("Deleted {$count} unassigned ".Str::plural('ability', $count).'.');
        } else {
            $this->info('No unassigned abilities.');
        }
    }
protected function deleteUnassignedAbilities()
    {
        $query = $this->getUnassignedAbilitiesQuery();

        if (($count = $query->count()) > 0) {
            $query->delete();

            $this->info("Deleted {$count} unassigned ".Str::plural('ability', $count).'.');
        } else {
            $this->info('No unassigned abilities.');
        }
    }
protected function deleteUnassignedAbilities ( ) { $ query = $ this -> getUnassignedAbilitiesQuery ( ) ; if ( ( $ count = $ query -> count ( ) ) > 0 ) { $ query -> delete ( ) ; $ this -> info ( "Deleted {$count} unassigned " . Str :: plural ( 'ability' , $ count ) . '.' ) ; } else { $ this -> info ( 'No unassigned abilities.' ) ; } }
Delete abilities not assigned to anyone.

@return void
Delete abilities not assigned to anyone .