Code Duplication    Length = 3-3 lines in 2 locations

lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php 2 locations

@@ 809-811 (lines=3) @@
806
        /**
807
         * Better safe than sorry: http://php.net/in_array#106319
808
         */
809
        if (in_array(trim(strtolower($value)), $this->booleanLiterals['false'], true)) {
810
            return $callback(false);
811
        }
812
813
        if (in_array(trim(strtolower($value)), $this->booleanLiterals['true'], true)) {
814
            return $callback(true);
@@ 813-815 (lines=3) @@
810
            return $callback(false);
811
        }
812
813
        if (in_array(trim(strtolower($value)), $this->booleanLiterals['true'], true)) {
814
            return $callback(true);
815
        }
816
817
        throw new \UnexpectedValueException("Unrecognized boolean literal '${value}'");
818
    }