src/Money/Component/Parser/Csv/ParserLCL.php
protected function getLineType()
    {
        $name = $this->getLineName();
        switch (strtolower(trim($this->line[2]))) {
            case 'carte':
                $type = (substr($name, 0, 9) === 'CB PAYPAL' ? Type::PPL : Type::CB);
                break;
            case 'chèque':
                $type = Type::CHQ;
                break;
            case 'virement':
                $type = (substr($name, 0, 4) === 'PRLV' ? Type::PRE : Type::VIR);

                break;
            case '':
                $type = Type::PRE;
                break;
            default:
                $type = (substr($name, 0, 9) === 'CB PAYPAL' ? Type::PPL : Type::CB);
        };

        return $type;
    }
protected function getLineType()
    {
        $name = $this->getLineName();
        switch (strtolower(trim($this->line[2]))) {
            case 'carte':
                $type = (substr($name, 0, 9) === 'CB PAYPAL' ? Type::PPL : Type::CB);
                break;
            case 'chèque':
                $type = Type::CHQ;
                break;
            case 'virement':
                $type = (substr($name, 0, 4) === 'PRLV' ? Type::PRE : Type::VIR);

                break;
            case '':
                $type = Type::PRE;
                break;
            default:
                $type = (substr($name, 0, 9) === 'CB PAYPAL' ? Type::PPL : Type::CB);
        };

        return $type;
    }
Get type

@return string