remove useless parameter
André Walker [Sun, 22 Jul 2012 20:04:16 +0000 (17:04 -0300)]
lib/Catalyst/IOC/Container.pm

index 8a49438..0832f63 100644 (file)
@@ -682,7 +682,8 @@ sub _find_component_regexp {
 # will use is precisely $type, not 'component'. So for now, I'm returning both
 # services, to decide later what to do.
 sub get_all_component_services {
-    my ($self, $class) = @_;
+    my $self = shift;
+
     my %components;
     my $components_container = $self->get_sub_container('component');