@@ -90,7 +90,7 @@ |
||
90 | 90 | * When a FileReflector (or mock thereof) is passed to the 'get' method this mock will return an |
91 | 91 | * empty instance of the FileDescriptor class. |
92 | 92 | * |
93 | - * @return m\MockInterface|AssemblerFactory |
|
93 | + * @return m\LegacyMockInterface |
|
94 | 94 | */ |
95 | 95 | protected function createAssemblerFactoryMock() |
96 | 96 | { |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | /** |
114 | 114 | * Returns the namespace for this element (defaults to global "\") |
115 | 115 | * |
116 | - * @return NamespaceDescriptor|string |
|
116 | + * @return string |
|
117 | 117 | */ |
118 | 118 | public function getNamespace() |
119 | 119 | { |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | } |
379 | 379 | |
380 | 380 | /** |
381 | - * @return DescriptorAbstract|string|Fqsen|null |
|
381 | + * @return DescriptorAbstract|null |
|
382 | 382 | */ |
383 | 383 | public function getInheritedElement() |
384 | 384 | { |
@@ -140,6 +140,7 @@ |
||
140 | 140 | |
141 | 141 | /** |
142 | 142 | * @inheritDoc |
143 | + * @param string $package |
|
143 | 144 | */ |
144 | 145 | public function setPackage($package) : void |
145 | 146 | { |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | /** |
144 | 144 | * Returns a mocked Project Descriptor. |
145 | 145 | * |
146 | - * @param Collection|MockInterface $descriptors |
|
146 | + * @param m\LegacyMockInterface $descriptors |
|
147 | 147 | */ |
148 | 148 | private function givenAProjectDescriptorWithChildDescriptors($descriptors) : MockInterface |
149 | 149 | { |
@@ -173,9 +173,9 @@ discard block |
||
173 | 173 | /** |
174 | 174 | * Returns a collection with descriptor. This collection will be scanned to see if a link can be made to a file. |
175 | 175 | * |
176 | - * @param DescriptorAbstract|MockInterface $descriptor |
|
176 | + * @param FileDescriptor $descriptor |
|
177 | 177 | * |
178 | - * @return Collection|MockInterface |
|
178 | + * @return m\LegacyMockInterface |
|
179 | 179 | */ |
180 | 180 | private function givenACollection($descriptor) |
181 | 181 | { |
@@ -102,7 +102,7 @@ |
||
102 | 102 | /** |
103 | 103 | * Creates a sample function reflector for the tests with the given data. |
104 | 104 | * |
105 | - * @param DocBlock|m\MockInterface $docBlockMock |
|
105 | + * @param DocBlock $docBlockMock |
|
106 | 106 | */ |
107 | 107 | protected function givenAFunctionReflector( |
108 | 108 | string $namespace, |
@@ -72,6 +72,7 @@ |
||
72 | 72 | |
73 | 73 | /** |
74 | 74 | * Creates a sample property reflector for the tests with the given data. |
75 | + * @param DocBlock $docBlockMock |
|
75 | 76 | */ |
76 | 77 | private function givenAPropertyReflector( |
77 | 78 | string $namespace, |
@@ -385,7 +385,7 @@ |
||
385 | 385 | /** |
386 | 386 | * Sets up mocks as such that the fixture has a parent class, with a file. |
387 | 387 | * |
388 | - * @return m\MockInterface|FileDescriptor |
|
388 | + * @return m\LegacyMockInterface |
|
389 | 389 | */ |
390 | 390 | private function whenFixtureIsRelatedToAClassWithFile() |
391 | 391 | { |
@@ -51,7 +51,7 @@ |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
54 | - * @return m\LegacyMockInterface|m\MockInterface|FlySystemFactory |
|
54 | + * @return FlySystemFactory |
|
55 | 55 | */ |
56 | 56 | public function flySystemFactory() |
57 | 57 | { |
@@ -100,6 +100,8 @@ |
||
100 | 100 | |
101 | 101 | /** |
102 | 102 | * Create a ClassReflector mock |
103 | + * @param Fqsen $classFqsen |
|
104 | + * @param Fqsen $parent |
|
103 | 105 | */ |
104 | 106 | protected function getClassReflectorDescriptor(?Fqsen $classFqsen = null, ?Fqsen $parent = null) : Class_ |
105 | 107 | { |