for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Graze\CiffRenderer\Field\Builder;
use Graze\CiffRenderer\Field\Builder\FixedTextBuilder;
use Graze\CiffRenderer\Field\Parser\BarcodeParser;
use Graze\CiffRenderer\Field\Renderer\BarcodeRenderer;
use Graze\CiffRenderer\Field\Parser\ParserInterface;
class BarcodeBuilder extends FixedTextBuilder
{
/**
* @return BarcodeRenderer
BarcodeParser
This check compares the return type specified in the @return annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.
@return
*/
protected function instantiateParser()
return new BarcodeParser();
}
* @param ParserInterface $parser
*
* @return \Graze\CiffRenderer\Field\Renderer\RendererInterface
protected function instantiateRenderer(ParserInterface $parser)
return new BarcodeRenderer();
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.