with 'Subject';
has count => (
- trait => [ 'Counter' ],
+ traits => [ 'Counter' ],
is => 'ro',
isa => 'Int',
default => 0,
},
);
-after 'inc_counter', 'dec_counter' => sub {
+after qw(inc_counter dec_counter) => sub {
my ($self) = @_;
$self->notify();
};