private function checkDifferentAnnotations(Annotation $annotation, $linesCount)
    {
        if ($linesCount === 1) {
            return;
        }

        $this->phpcsFile->addError(
            \sprintf('Expected 1 lines between different annotations types, found %d.', $linesCount),
            $annotation->getStartPointer(),
            'LineBetweenDifferentTags'
        );
    }
private function checkDifferentAnnotations(Annotation $annotation, $linesCount)
    {
        if ($linesCount === 1) {
            return;
        }

        $this->phpcsFile->addError(
            \sprintf('Expected 1 lines between different annotations types, found %d.', $linesCount),
            $annotation->getStartPointer(),
            'LineBetweenDifferentTags'
        );
    }
private function checkDifferentAnnotations ( Annotation $ annotation , $ linesCount ) { if ( $ linesCount === 1 ) { return ; } $ this -> phpcsFile -> addError ( \ sprintf ( 'Expected 1 lines between different annotations types, found %d.' , $ linesCount ) , $ annotation -> getStartPointer ( ) , 'LineBetweenDifferentTags' ) ; }
Check lines between different annotations.

@param \SlevomatCodingStandard\Helpers\Annotation $annotation
@param int $linesCount

@return void
Check lines between different annotations .