diff --git a/src/Core/StaticConfigTrait.php b/src/Core/StaticConfigTrait.php index 53d71752802..63ceabeeaf0 100644 --- a/src/Core/StaticConfigTrait.php +++ b/src/Core/StaticConfigTrait.php @@ -235,7 +235,7 @@ public static function parseDsn($dsn) { * @param array|null $map Additions/edits to the class map to apply * @return array */ - public static function dsnClassMap($map = null) { + public static function dsnClassMap(array $map = null) { if ($map !== null) { static::$_dsnClassMap = $map + static::$_dsnClassMap; }