Permalink
Browse files

use style;

  • Loading branch information...
1 parent b479073 commit 6f64687ab7c87bad82639ac0c69a2aa6d7fba4d5 @rafl committed Aug 27, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/MooseX/Method/Signatures.pm
@@ -240,13 +240,12 @@ sub _parser {
my $create_meta_method = sub {
my ($code, $pkg, $meth_name, @args) = @_;
subname $pkg . "::" .$meth_name, $code;
- my $method = $proto_method->clone(
+ return $proto_method->clone(
actual_body => $code,
package_name => $pkg,
name => $meth_name,
trait_args => \@args,
);
- return $method;
};
if (defined $name) {

0 comments on commit 6f64687

Please sign in to comment.