@@ -73,7 +73,7 @@ |
||
73 | 73 | * |
74 | 74 | * @see BaseConvertCommand::getConverter() for the basic functionality. |
75 | 75 | * |
76 | - * @return \phpDocumentor\Plugin\Scrybe\Converter\ConverterInterface |
|
76 | + * @return ToLatexInterface |
|
77 | 77 | */ |
78 | 78 | protected function getConverter(InputInterface $input) |
79 | 79 | { |
@@ -46,7 +46,7 @@ |
||
46 | 46 | * construct the Definition\Factory with a different Format\Collection to influence the possible options. |
47 | 47 | * |
48 | 48 | * @param string[] $converters |
49 | - * @param Definition\Factory|null $definition_factory |
|
49 | + * @param Definition\Factory $definition_factory |
|
50 | 50 | * @param Logger $logger |
51 | 51 | */ |
52 | 52 | public function __construct(array $converters, Definition\Factory $definition_factory, Logger $logger) |
@@ -323,7 +323,7 @@ |
||
323 | 323 | * |
324 | 324 | * @param InputInterface $input |
325 | 325 | * |
326 | - * @return HelperInterface|null |
|
326 | + * @return null|\Symfony\Component\Console\Helper\ProgressHelper |
|
327 | 327 | */ |
328 | 328 | protected function getProgressBar(InputInterface $input) |
329 | 329 | { |
@@ -198,6 +198,9 @@ |
||
198 | 198 | return $collection; |
199 | 199 | } |
200 | 200 | |
201 | + /** |
|
202 | + * @param string $presentation |
|
203 | + */ |
|
201 | 204 | protected function renderLink($path, $presentation) |
202 | 205 | { |
203 | 206 | $url = false; |
@@ -184,7 +184,7 @@ |
||
184 | 184 | * |
185 | 185 | * @param string $message The message or code to translate. |
186 | 186 | * @param string $textDomain A message may be located in a domain, here you can provide in which. |
187 | - * @param null $locale The locale to translate to or the default if not set. |
|
187 | + * @param string $locale The locale to translate to or the default if not set. |
|
188 | 188 | * |
189 | 189 | * @return string |
190 | 190 | */ |
@@ -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) |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @param $fileDescriptor |
|
86 | + * @param m\MockInterface $fileDescriptor |
|
87 | 87 | * @return m\MockInterface |
88 | 88 | */ |
89 | 89 | private function givenAProjectDescriptor($fileDescriptor) |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | } |
97 | 97 | |
98 | 98 | /** |
99 | - * @param array $errors |
|
99 | + * @param m\MockInterface[] $errors |
|
100 | 100 | * @param int $markerCount |
101 | 101 | * @return m\MockInterface |
102 | 102 | */ |
@@ -129,6 +129,13 @@ discard block |
||
129 | 129 | return $error; |
130 | 130 | } |
131 | 131 | |
132 | + /** |
|
133 | + * @param string $date |
|
134 | + * @param integer $numberOfFiles |
|
135 | + * @param integer $numberOfDeprecated |
|
136 | + * @param integer $numberOfErrors |
|
137 | + * @param integer $numberOfMarkers |
|
138 | + */ |
|
132 | 139 | private function thenTheXmlReportShouldContain( |
133 | 140 | $date, |
134 | 141 | $numberOfFiles, |
@@ -170,7 +177,7 @@ discard block |
||
170 | 177 | } |
171 | 178 | |
172 | 179 | /** |
173 | - * @param $actualXml |
|
180 | + * @param \DOMDocument $actualXml |
|
174 | 181 | * |
175 | 182 | * @return \DateTime |
176 | 183 | */ |
@@ -182,7 +189,7 @@ discard block |
||
182 | 189 | } |
183 | 190 | |
184 | 191 | /** |
185 | - * @param $actualXml |
|
192 | + * @param \DOMDocument $actualXml |
|
186 | 193 | * |
187 | 194 | * @return \DateTime |
188 | 195 | */ |
@@ -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 | { |
@@ -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 |