@@ -115,7 +115,7 @@ |
||
115 | 115 | * Creates a rule set instance with a variable amount of appended rule |
116 | 116 | * objects. |
117 | 117 | * |
118 | - * @return \PHPMD\AbstractRule |
|
118 | + * @return RuleSet |
|
119 | 119 | */ |
120 | 120 | private function createRuleSetFixture() |
121 | 121 | { |
@@ -133,7 +133,7 @@ |
||
133 | 133 | * Constructs a new command line options instance. |
134 | 134 | * |
135 | 135 | * @param array $args |
136 | - * @param array $availableRuleSets |
|
136 | + * @param string[] $availableRuleSets |
|
137 | 137 | * @throws \InvalidArgumentException |
138 | 138 | */ |
139 | 139 | public function __construct(array $args, array $availableRuleSets = array()) |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | * has no child of the given type. |
102 | 102 | * |
103 | 103 | * @param string $type The searched child type. |
104 | - * @return \PHPMD\AbstractNode |
|
104 | + * @return null|ASTNode |
|
105 | 105 | */ |
106 | 106 | public function getFirstChildOfType($type) |
107 | 107 | { |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | * <b>null</b> when no such metric exists. |
220 | 220 | * |
221 | 221 | * @param string $name The metric name or abbreviation. |
222 | - * @return mixed |
|
222 | + * @return AbstractNode |
|
223 | 223 | */ |
224 | 224 | public function getMetric($name) |
225 | 225 | { |
@@ -18,7 +18,6 @@ |
||
18 | 18 | namespace PHPMD\Renderer; |
19 | 19 | |
20 | 20 | use PHPMD\AbstractTest; |
21 | -use PHPMD\ProcessingError; |
|
22 | 21 | use PHPMD\Stubs\WriterStub; |
23 | 22 | |
24 | 23 | /** |