From b5a04ce99f3cc9135f2063e20c42c5c3728a9dfa Mon Sep 17 00:00:00 2001 From: jeroendedauw Date: Mon, 12 Jan 2015 13:01:37 +0100 Subject: [PATCH] Fix typos in type hints --- src/main/php/PHPMD/Parser.php | 2 +- src/main/php/PHPMD/Report.php | 2 +- src/test/php/PHPMD/ParserTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/php/PHPMD/Parser.php b/src/main/php/PHPMD/Parser.php index 1cce5799d..7bc0735b8 100644 --- a/src/main/php/PHPMD/Parser.php +++ b/src/main/php/PHPMD/Parser.php @@ -166,7 +166,7 @@ public function log(Analyzer $analyzer) * Closes the logger process and writes the output file. * * @return void - * @throws PDepend\Report\NoLogOutputException If the no log target exists. + * @throws \PDepend\Report\NoLogOutputException If the no log target exists. */ public function close() { diff --git a/src/main/php/PHPMD/Report.php b/src/main/php/PHPMD/Report.php index 1435800d6..8f7dd7b4e 100644 --- a/src/main/php/PHPMD/Report.php +++ b/src/main/php/PHPMD/Report.php @@ -54,7 +54,7 @@ class Report /** * List of rule violations detected in the analyzed source code. * - * @var \PHPMD\RuleViolations[] + * @var \PHPMD\RuleViolation[] */ private $ruleViolations = array(); diff --git a/src/test/php/PHPMD/ParserTest.php b/src/test/php/PHPMD/ParserTest.php index 65b2e4026..62d1437e5 100644 --- a/src/test/php/PHPMD/ParserTest.php +++ b/src/test/php/PHPMD/ParserTest.php @@ -181,7 +181,7 @@ private function getPHPDependMock() /** * Creates a mocked PDepend class instance. * - * @return PDepend\Source\AST\ASTClass + * @return \PDepend\Source\AST\ASTClass */ protected function getPHPDependClassMock() {