From 0a8831b5322e408a214e656b74b67271c931e18a Mon Sep 17 00:00:00 2001 From: AD7six Date: Fri, 31 Oct 2014 09:42:13 +0000 Subject: [PATCH] A couple of documentation corrections --- src/Core/StaticConfigTrait.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Core/StaticConfigTrait.php b/src/Core/StaticConfigTrait.php index 1d9ee2eca94..ab8f2c12a05 100644 --- a/src/Core/StaticConfigTrait.php +++ b/src/Core/StaticConfigTrait.php @@ -164,6 +164,7 @@ public static function configured() { * * @param string $dsn The DSN string to convert to a configuration array * @return array The configuration array to be stored after parsing the DSN + * @throws \InvalidArgumentException If not passed a string */ public static function parseDsn($dsn) { if (empty($dsn)) { @@ -231,7 +232,7 @@ public static function parseDsn($dsn) { /** * return or update the dsn class map for this class * - * @param mixed $map + * @param array|null $map additions/edits to the class map to apply * @return array */ public static function dsnClassMap($map = null) {