@@ -117,7 +117,7 @@ |
||
117 | 117 | * |
118 | 118 | * @param boolean $isVariadic |
119 | 119 | * |
120 | - * @return false |
|
120 | + * @return false|null |
|
121 | 121 | */ |
122 | 122 | public function setVariadic($isVariadic) |
123 | 123 | { |
@@ -88,6 +88,7 @@ discard block |
||
88 | 88 | |
89 | 89 | /** |
90 | 90 | * {@inheritDoc} |
91 | + * @param boolean $final |
|
91 | 92 | */ |
92 | 93 | public function setFinal($final) |
93 | 94 | { |
@@ -104,6 +105,7 @@ discard block |
||
104 | 105 | |
105 | 106 | /** |
106 | 107 | * {@inheritDoc} |
108 | + * @param boolean $abstract |
|
107 | 109 | */ |
108 | 110 | public function setAbstract($abstract) |
109 | 111 | { |
@@ -133,6 +133,9 @@ |
||
133 | 133 | return $inheritedMethods; |
134 | 134 | } |
135 | 135 | |
136 | + /** |
|
137 | + * @param string $package |
|
138 | + */ |
|
136 | 139 | public function setPackage($package) |
137 | 140 | { |
138 | 141 | parent::setPackage($package); |
@@ -19,7 +19,6 @@ |
||
19 | 19 | use phpDocumentor\Transformer\Event\PreXslWriterEvent; |
20 | 20 | use phpDocumentor\Transformer\Router\ForFileProxy; |
21 | 21 | use phpDocumentor\Transformer\Router\Queue; |
22 | -use phpDocumentor\Transformer\Transformation; |
|
23 | 22 | use phpDocumentor\Transformer\Transformation as TransformationObject; |
24 | 23 | use phpDocumentor\Transformer\Writer\Exception\RequirementMissing; |
25 | 24 | use phpDocumentor\Transformer\Writer\Routable; |
@@ -304,7 +304,7 @@ |
||
304 | 304 | } |
305 | 305 | |
306 | 306 | /** |
307 | - * @return bool|string |
|
307 | + * @return string|false |
|
308 | 308 | */ |
309 | 309 | private function generateUrlForXmlElement(ProjectDescriptor $project, \DOMElement $element) |
310 | 310 | { |
@@ -67,6 +67,8 @@ |
||
67 | 67 | /** |
68 | 68 | * Creates and returns a mock of the Service Locator (application). |
69 | 69 | * |
70 | + * @param m\MockInterface $mockCollection |
|
71 | + * @param m\MockInterface $mockLogger |
|
70 | 72 | * @return m\MockInterface |
71 | 73 | */ |
72 | 74 | private function givenAnApplication($mockCollection, $mockLogger) |
@@ -175,6 +175,9 @@ discard block |
||
175 | 175 | $this->assertSame('documented', $result); |
176 | 176 | } |
177 | 177 | |
178 | + /** |
|
179 | + * @param m\MockInterface $elementList |
|
180 | + */ |
|
178 | 181 | private function givenAProjectDescriptorBuilder($elementList) |
179 | 182 | { |
180 | 183 | $projectDescriptor = m::mock('\phpDocumentor\Descriptor\ProjectDescriptor'); |
@@ -184,6 +187,9 @@ discard block |
||
184 | 187 | return $projectDescriptorBuilder; |
185 | 188 | } |
186 | 189 | |
190 | + /** |
|
191 | + * @param m\MockInterface|null $rule |
|
192 | + */ |
|
187 | 193 | private function givenARouter($rule) |
188 | 194 | { |
189 | 195 | $queue = m::mock('phpDocumentor\Transformer\Router\Queue'); |
@@ -74,7 +74,7 @@ |
||
74 | 74 | /** |
75 | 75 | * Returns a mock Example tag that will return example data (as provided in the class constants) when asked to. |
76 | 76 | * |
77 | - * @return m\MockInterface |
|
77 | + * @return Example |
|
78 | 78 | */ |
79 | 79 | private function givenExampleTagWithTestData() |
80 | 80 | { |
@@ -85,6 +85,9 @@ |
||
85 | 85 | $this->assertSame([], $descriptor->getErrors()->getAll()); |
86 | 86 | } |
87 | 87 | |
88 | + /** |
|
89 | + * @param string $description |
|
90 | + */ |
|
88 | 91 | protected function givenASeeTag($reference, $description) |
89 | 92 | { |
90 | 93 | return new DocBlock\Tags\See( |
@@ -63,6 +63,10 @@ |
||
63 | 63 | $this->assertSame([], $descriptor->getErrors()->getAll()); |
64 | 64 | } |
65 | 65 | |
66 | + /** |
|
67 | + * @param string $description |
|
68 | + * @param string $reference |
|
69 | + */ |
|
66 | 70 | protected function givenAUsesTag($description, $reference) |
67 | 71 | { |
68 | 72 | return new Uses( |