diff --git a/src/Reflection.php b/src/Reflection.php index ab9332af..f5919c34 100644 --- a/src/Reflection.php +++ b/src/Reflection.php @@ -78,7 +78,7 @@ public static function reflectFunction($function, $argv = false, $namespace = '' } if ($argv && !is_array($argv)) { - throw new Reflection\Exception\InvalidArgumentException('Invalid argv argument passed to reflectClass'); + throw new Reflection\Exception\InvalidArgumentException('Invalid argv argument passed to reflectFunction'); } return new ReflectionFunction(new \ReflectionFunction($function), $namespace, $argv);