private function parseType(string $value)
    {
        if ((substr($value, 0, 1) === '"' && substr($value, -1) === '"') || (substr($value, 0, 1) === "'" && substr($value, -1) === "'")) {
            return substr($value, 1, strlen($value) - 2);
        }

        return Parse::toType($value);
    }
private function parseType(string $value)
    {
        if ((substr($value, 0, 1) === '"' && substr($value, -1) === '"') || (substr($value, 0, 1) === "'" && substr($value, -1) === "'")) {
            return substr($value, 1, strlen($value) - 2);
        }

        return Parse::toType($value);
    }
private function parseType ( string $ value ) { if ( ( substr ( $ value , 0 , 1 ) === '"' && substr ( $ value , - 1 ) === '"' ) || ( substr ( $ value , 0 , 1 ) === "'" && substr ( $ value , - 1 ) === "'" ) ) { return substr ( $ value , 1 , strlen ( $ value ) - 2 ) ; } return Parse :: toType ( $ value ) ; }
parses value to correct type

@param   string  $value
@return  mixed
parses value to correct type