use normalized args to silence warnings in DEBUG mode
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Action.pm
index 7351f39..3497e21 100644 (file)
@@ -461,7 +461,7 @@ sub scheme {
 sub list_extra_info {
   my $self = shift;
   return {
-    Args => $self->attributes->{Args}[0],
+    Args => $self->normalized_arg_number,
     CaptureArgs => $self->number_of_captures,
   }
 }