diff options
Diffstat (limited to 'Bugzilla/Types.pm')
-rw-r--r-- | Bugzilla/Types.pm | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Bugzilla/Types.pm b/Bugzilla/Types.pm index 93d699f49..e4868d227 100644 --- a/Bugzilla/Types.pm +++ b/Bugzilla/Types.pm @@ -11,17 +11,16 @@ use 5.10.1; use strict; use warnings; -use Type::Library - -base, - -declare => qw( Bug User Group Attachment Comment JSONBool ); +use Type::Library -base, + -declare => qw( Bug User Group Attachment Comment JSONBool ); use Type::Utils -all; use Types::Standard -types; -class_type Bug, { class => 'Bugzilla::Bug' }; -class_type User, { class => 'Bugzilla::User' }; -class_type Group, { class => 'Bugzilla::Group' }; -class_type Attachment, { class => 'Bugzilla::Attachment' }; -class_type Comment, { class => 'Bugzilla::Comment' }; -class_type JSONBool, { class => 'JSON::PP::Boolean' }; +class_type Bug, {class => 'Bugzilla::Bug'}; +class_type User, {class => 'Bugzilla::User'}; +class_type Group, {class => 'Bugzilla::Group'}; +class_type Attachment, {class => 'Bugzilla::Attachment'}; +class_type Comment, {class => 'Bugzilla::Comment'}; +class_type JSONBool, {class => 'JSON::PP::Boolean'}; 1; |