@@ -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); |
@@ -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( |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * @param string $namespace |
103 | 103 | * @param string $functionName |
104 | 104 | * @param Argument $argumentMock |
105 | - * @param DocBlock|m\MockInterface $docBlockMock |
|
105 | + * @param DocBlock $docBlockMock |
|
106 | 106 | * |
107 | 107 | * @return Function_ |
108 | 108 | */ |
@@ -155,7 +155,7 @@ |
||
155 | 155 | /** |
156 | 156 | * Creates a mocked Descriptor. |
157 | 157 | * |
158 | - * @return m\MockInterface|DescriptorAbstract |
|
158 | + * @return DescriptorAbstract |
|
159 | 159 | */ |
160 | 160 | private function createDescriptorMock() |
161 | 161 | { |