From e16473d18e4872903d34db2d2d092a442a22d4c3 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 14 Feb 2016 23:08:45 +0100 Subject: [PATCH] typehints --- Utils/RnG/Name.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/RnG/Name.php b/Utils/RnG/Name.php index efd8718e3..8b4d161b8 100644 --- a/Utils/RnG/Name.php +++ b/Utils/RnG/Name.php @@ -482,7 +482,7 @@ class Name * @since 1.0.0 * @author Dennis Eichhorn */ - public static function generateName($type, $origin = 'western') + public static function generateName(array $type, string $origin = 'western') { $rndType = rand(0, count($type) - 1);