@@ -75,7 +75,7 @@ |
||
75 | 75 | /** |
76 | 76 | * Creates a mock for the TraitDescriptor class. |
77 | 77 | * |
78 | - * @return m\MockTrait|DescriptorAbstract |
|
78 | + * @return m\MockInterface |
|
79 | 79 | */ |
80 | 80 | protected function createTraitDescriptorMock() |
81 | 81 | { |
@@ -15,7 +15,6 @@ |
||
15 | 15 | |
16 | 16 | use phpDocumentor\Descriptor\ProjectDescriptor; |
17 | 17 | use phpDocumentor\Descriptor\DescriptorAbstract; |
18 | - |
|
19 | 18 | use Mockery as m; |
20 | 19 | use org\bovigo\vfs\vfsStream; |
21 | 20 | use phpDocumentor\Transformer\Router\RouterAbstract; |
@@ -11,8 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace phpDocumentor\Transformer\Configuration; |
13 | 13 | |
14 | -use Mockery as m; |
|
15 | - |
|
16 | 14 | class TransformationsTest extends \PHPUnit_Framework_TestCase |
17 | 15 | { |
18 | 16 | /** @var Transformations */ |
@@ -188,7 +188,7 @@ |
||
188 | 188 | * vsprintf function. |
189 | 189 | * |
190 | 190 | * @param string $message ID or message to translate. |
191 | - * @param array $variables Variables to use for substitution. |
|
191 | + * @param string[] $variables Variables to use for substitution. |
|
192 | 192 | * @codingStandardsIgnoreStart |
193 | 193 | * |
194 | 194 | * @return string |
@@ -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 | { |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | /** |
199 | 199 | * Returns the descriptor of the element that the link points to |
200 | 200 | * |
201 | - * @return DescriptorAbstract|m\MockInterface |
|
201 | + * @return DescriptorAbstract |
|
202 | 202 | */ |
203 | 203 | private function givenAnElementToLinkTo() |
204 | 204 | { |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | /** |
216 | 216 | * Returns a collection with descriptor. This collection will be scanned to see if a link can be made to a file. |
217 | 217 | * |
218 | - * @param DescriptorAbstract|m\MockInterface $descriptor |
|
218 | + * @param m\MockInterface $descriptor |
|
219 | 219 | * |
220 | 220 | * @return Collection|m\MockInterface |
221 | 221 | */ |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * @param ArgumentDescriptor|m\MockInterface $argumentMock |
86 | 86 | * @param DocBlock|m\MockInterface $docBlockMock |
87 | 87 | * |
88 | - * @return FunctionReflector|m\MockInterface |
|
88 | + * @return FunctionReflector |
|
89 | 89 | */ |
90 | 90 | protected function givenAFunctionReflector($namespace, $functionName, $argumentMock, $docBlockMock) |
91 | 91 | { |
@@ -168,7 +168,7 @@ |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @param $interfaceParent |
|
171 | + * @param string $interfaceParent |
|
172 | 172 | * @return InterfaceDescriptor |
173 | 173 | */ |
174 | 174 | protected function givenAnInterfaceWithParent($interfaceParent) |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * |
50 | 50 | * @param string[] $templateNames |
51 | 51 | * |
52 | - * @return m\MockInterface|Factory |
|
52 | + * @return Factory |
|
53 | 53 | */ |
54 | 54 | private function givenAFactoryWithTemplateNames(array $templateNames) |
55 | 55 | { |