1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 18:43:22 +01:00

fix exception message

This commit is contained in:
Gordon Franke 2012-06-19 19:33:48 +03:00
parent 9586d67b66
commit 0891bdbfbe

View File

@ -22,7 +22,7 @@ abstract class AbstractType extends AbstractConstraint
if (!isset(static::$typeMapping[$type])) {
throw new InvalidArgumentException("{$type} is not one of the "
. 'mapped types: ' . implode(', ', array_keys(self::$typeMapping)));
. 'mapped types: ' . implode(', ', array_keys(static::$typeMapping)));
}
$method = static::$typeMapping[$type];