@@ -98,7 +98,7 @@ |
||
98 | 98 | * |
99 | 99 | * @throws \Exception Rethrows exception if nessesary |
100 | 100 | * |
101 | - * @return void |
|
101 | + * @return Settings |
|
102 | 102 | */ |
103 | 103 | protected function igBinaryCompatibleCacheClear($key, $e) |
104 | 104 | { |
@@ -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); |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * |
124 | 124 | * @throws \InvalidArgumentException if no Assembler could be found that matches the given data. |
125 | 125 | * |
126 | - * @return DescriptorAbstract|Collection|null |
|
126 | + * @return Collection |
|
127 | 127 | */ |
128 | 128 | public function buildDescriptor($data) |
129 | 129 | { |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | * |
232 | 232 | * @param DescriptorAbstract $descriptor |
233 | 233 | * |
234 | - * @return DescriptorAbstract|null |
|
234 | + * @return null|Filterable |
|
235 | 235 | */ |
236 | 236 | protected function filterAndValidateDescriptor($descriptor) |
237 | 237 | { |
@@ -51,6 +51,9 @@ discard block |
||
51 | 51 | /** @var Translator */ |
52 | 52 | protected $translator; |
53 | 53 | |
54 | + /** |
|
55 | + * @param \phpDocumentor\Translator\Translator $translator |
|
56 | + */ |
|
54 | 57 | public function __construct($builder, $parser, $translator, $files) |
55 | 58 | { |
56 | 59 | $this->builder = $builder; |
@@ -341,7 +344,7 @@ discard block |
||
341 | 344 | * |
342 | 345 | * @param InputInterface $input |
343 | 346 | * |
344 | - * @return \Symfony\Component\Console\Helper\HelperInterface|null |
|
347 | + * @return null|ProgressHelper |
|
345 | 348 | */ |
346 | 349 | protected function getProgressBar(InputInterface $input) |
347 | 350 | { |
@@ -369,6 +372,10 @@ discard block |
||
369 | 372 | * @return string |
370 | 373 | */ |
371 | 374 | // @codingStandardsIgnoreStart |
375 | + |
|
376 | + /** |
|
377 | + * @param string $text |
|
378 | + */ |
|
372 | 379 | protected function __($text, $parameters = array()) |
373 | 380 | // @codingStandardsIgnoreEnd |
374 | 381 | { |
@@ -301,7 +301,7 @@ |
||
301 | 301 | * |
302 | 302 | * @throws Exception if no files were found. |
303 | 303 | * |
304 | - * @return bool|string |
|
304 | + * @return \phpDocumentor\Descriptor\ProjectDescriptor |
|
305 | 305 | */ |
306 | 306 | public function parse(ProjectDescriptorBuilder $builder, Collection $files) |
307 | 307 | { |
@@ -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 | { |