diff --git a/PHPUnit/Util/Skeleton.php b/PHPUnit/Util/Skeleton.php index 8b906c19285..4a920218b71 100644 --- a/PHPUnit/Util/Skeleton.php +++ b/PHPUnit/Util/Skeleton.php @@ -235,7 +235,7 @@ public function generate($verbose = FALSE) 'methodName' ), array( - trim($token[1]), + trim($annotation), $matches[1], $assertion, $this->className,