first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead
This commit is contained in:
parent
75041656ee
commit
96178fd70c
92 changed files with 209 additions and 209 deletions
|
|
@ -257,7 +257,7 @@ sub addChild {
|
|||
|
||||
if ($properties->{className} ne "WebGUI::Asset::Event") {
|
||||
$self->session->errorHandler->security("add a ".$properties->{className}." to a ".$self->get("className"));
|
||||
return undef;
|
||||
return;
|
||||
}
|
||||
|
||||
return $self->SUPER::addChild($properties, @other);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue