<?php

namespace Faker\Provider\zh_TW;

class Internet extends \Faker\Provider\Internet
{
    public function userName()
    {
        return \Faker\Factory::create('en_US')->userName();
    }

    public function domainWord()
    {
        return \Faker\Factory::create('en_US')->domainWord();
    }
}

<?php

namespace Faker\Provider\zh_TW;

class Internet extends \Faker\Provider\Internet
{
    public function userName()
    {
        return \Faker\Factory::create('en_US')->userName();
    }

    public function domainWord()
    {
        return \Faker\Factory::create('en_US')->domainWord();
    }

    public function password()
    {
        $pool = array(
            'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
            'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
            'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
            'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
            '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0',
        );
        return join('', static::randomElements($pool, static::numberBetween(6, 20)));
    }
}

--- 
+++ 
@@ -13,16 +13,4 @@
     {
         return \Faker\Factory::create('en_US')->domainWord();
     }
-
-    public function password()
-    {
-        $pool = array(
-            'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
-            'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
-            'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
-            'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
-            '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0',
-        );
-        return join('', static::randomElements($pool, static::numberBetween(6, 20)));
-    }
 }
Remove the redundant password function
