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:
parent
9586d67b66
commit
0891bdbfbe
@ -22,7 +22,7 @@ abstract class AbstractType extends AbstractConstraint
|
|||||||
|
|
||||||
if (!isset(static::$typeMapping[$type])) {
|
if (!isset(static::$typeMapping[$type])) {
|
||||||
throw new InvalidArgumentException("{$type} is not one of the "
|
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];
|
$method = static::$typeMapping[$type];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user