| 1 | <?php |
||
| 10 | class RendererBuilderBarcode extends RendererBuilderFixedText |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @return BarcodeRenderer |
||
|
|
|||
| 14 | */ |
||
| 15 | protected function instantiateParser() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param ParserInterface $parser |
||
| 22 | * |
||
| 23 | * @return \Graze\CiffRenderer\Field\Renderer\RendererInterface |
||
| 24 | */ |
||
| 25 | protected function instantiateRenderer(ParserInterface $parser) |
||
| 29 | } |
||
| 30 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.