Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 16b2782

Browse files
committed
PERL-1125 Use Num for expire time instead of Int
1 parent 7a5da10 commit 16b2782

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎lib/MongoDB/_URI.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ use Types::Standard qw(
3030
HashRef
3131
Str
3232
Int
33+
Num
3334
);
3435
use namespace::clean -except => 'meta';
3536
use Scalar::Util qw/looks_like_number/;
@@ -95,7 +96,7 @@ has valid_options => (
9596

9697
has expires => (
9798
is => 'ro',
98-
isa => Int,
99+
isa => Num,
99100
writer => '_set_expires',
100101
);
101102

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /