@@ -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; |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | } |
247 | 247 | |
248 | 248 | /** |
249 | - * @param $structureFilename |
|
249 | + * @param string $structureFilename |
|
250 | 250 | * @return \DOMDocument |
251 | 251 | */ |
252 | 252 | private function loadAst($structureFilename) |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | /** |
279 | 279 | * @param Transformation $transformation |
280 | 280 | * @param $proc |
281 | - * @param $structure |
|
281 | + * @param \DOMDocument $structure |
|
282 | 282 | */ |
283 | 283 | private function registerDefaultVariables(Transformation $transformation, $proc, $structure) |
284 | 284 | { |
@@ -295,9 +295,9 @@ discard block |
||
295 | 295 | } |
296 | 296 | |
297 | 297 | /** |
298 | - * @param $filename |
|
298 | + * @param string|null $filename |
|
299 | 299 | * @param $proc |
300 | - * @param $structure |
|
300 | + * @param \DOMDocument $structure |
|
301 | 301 | */ |
302 | 302 | private function writeToFile($filename, $proc, $structure) |
303 | 303 | { |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | * |
163 | 163 | * @param InputInterface $input |
164 | 164 | * |
165 | - * @return TemplateInterface |
|
165 | + * @return string |
|
166 | 166 | */ |
167 | 167 | protected function getTemplate(InputInterface $input) |
168 | 168 | { |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | * Constructs a Fileset collection and returns that. |
189 | 189 | * |
190 | 190 | * @param array $sources List of source paths. |
191 | - * @param array $extensions List of extensions to scan for in directories. |
|
191 | + * @param string[] $extensions List of extensions to scan for in directories. |
|
192 | 192 | * |
193 | 193 | * @return Collection |
194 | 194 | */ |
@@ -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 | */ |