aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311/Endpoint/Service.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/Open311/Endpoint/Service.pm')
-rw-r--r--perllib/Open311/Endpoint/Service.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/Open311/Endpoint/Service.pm b/perllib/Open311/Endpoint/Service.pm
index 282e5f921..2c28c6d79 100644
--- a/perllib/Open311/Endpoint/Service.pm
+++ b/perllib/Open311/Endpoint/Service.pm
@@ -28,6 +28,7 @@ has description => (
has keywords => (
is => 'ro',
isa => ArrayRef[Str],
+ default => sub { [] },
);
has group => (
@@ -43,6 +44,7 @@ has type => (
has attributes => (
is => 'ro',
isa => ArrayRef[ InstanceOf['Open311::Endpoint::Service::Attribute'] ],
+ default => sub { [] },
handles_via => 'Array',
handles => {
has_attributes => 'count',