Skip to content

Commit d58aa4f

Browse files
committed
use curly braces to match code style
1 parent ebcd65b commit d58aa4f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/src/binary_codec.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,10 @@ class PostgresBinaryDecoder extends Converter<Uint8List, dynamic> {
435435
.add(Duration(microseconds: buffer.getInt64(0)));
436436

437437
case PostgreSQLDataType.interval:
438-
if (buffer.getInt64(8) != 0) throw UnimplementedError();
439-
return Duration(microseconds: buffer.getInt64(0));
438+
{
439+
if (buffer.getInt64(8) != 0) throw UnimplementedError();
440+
return Duration(microseconds: buffer.getInt64(0));
441+
}
440442

441443
case PostgreSQLDataType.numeric:
442444
return _decodeNumeric(value);

0 commit comments

Comments
 (0)