summaryrefslogtreecommitdiff
path: root/lib/Data/MultiValued/Tags.pm
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2012-12-11 17:08:10 +0000
committerGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2012-12-11 17:10:33 +0000
commitf3843b86e5173a11c084287c00edf0fa1f9fb817 (patch)
tree064fccbf68d24fe88e2c844b8a7a4f9cd9114946 /lib/Data/MultiValued/Tags.pm
parentfake bump (diff)
downloaddata-multivalued-f3843b86e5173a11c084287c00edf0fa1f9fb817.tar.gz
data-multivalued-f3843b86e5173a11c084287c00edf0fa1f9fb817.tar.bz2
data-multivalued-f3843b86e5173a11c084287c00edf0fa1f9fb817.zip
add all_tags etcv0.0.7_1-dzilla
Diffstat (limited to 'lib/Data/MultiValued/Tags.pm')
-rw-r--r--lib/Data/MultiValued/Tags.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Data/MultiValued/Tags.pm b/lib/Data/MultiValued/Tags.pm
index 063a778..2e8f38e 100644
--- a/lib/Data/MultiValued/Tags.pm
+++ b/lib/Data/MultiValued/Tags.pm
@@ -51,7 +51,7 @@ just stored.
sub set {
my ($self,%args) = validated_hash(
\@_,
- tag => { isa => 'Str', optional => 1, },
+ tag => { isa => 'Maybe[Str]', optional => 1, },
value => { isa => 'Any', },
);
@@ -78,7 +78,7 @@ untouched.
sub get {
my ($self,%args) = validated_hash(
\@_,
- tag => { isa => 'Str', optional => 1, },
+ tag => { isa => 'Maybe[Str]', optional => 1, },
);
$self->_storage->get(\%args)
@@ -100,7 +100,7 @@ is no way to just clear the value for the C<undef> tag.
sub clear {
my ($self,%args) = validated_hash(
\@_,
- tag => { isa => 'Str', optional => 1, },
+ tag => { isa => 'Maybe[Str]', optional => 1, },
);
$self->_storage->clear(\%args);