typehints

This commit is contained in:
Dennis Eichhorn 2016-02-14 23:08:45 +01:00
parent ba8a36043c
commit e16473d18e

View File

@ -482,7 +482,7 @@ class Name
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public static function generateName($type, $origin = 'western')
public static function generateName(array $type, string $origin = 'western')
{
$rndType = rand(0, count($type) - 1);