Browse Source

Add typehint.

euromark 11 years ago
parent
commit
f376d32966
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Core/StaticConfigTrait.php

+ 1 - 1
src/Core/StaticConfigTrait.php

@@ -235,7 +235,7 @@ trait StaticConfigTrait {
  * @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;
 		}