Skip to content

Commit

Permalink
no 'a' or 'an'
Browse files Browse the repository at this point in the history
  • Loading branch information
xsawyerx committed Jul 3, 2010
1 parent d6b5f1a commit e9c083b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Algorithm/Diff/Callback.pm
Expand Up @@ -16,8 +16,8 @@ sub diff_hashes {
my @changed = ();

# check old and new hashes
ref $old eq 'HASH' or croak 'Arg 1 must be a hashref';
ref $new eq 'HASH' or croak 'Arg 2 must be a hashref';
ref $old eq 'HASH' or croak 'Arg 1 must be hashref';
ref $new eq 'HASH' or croak 'Arg 2 must be hashref';

# check callbacks
{
Expand Down Expand Up @@ -60,8 +60,8 @@ sub diff_arrays {
my ( $old, $new, $del_cb, $add_cb ) = @_;

# check old and new hashes
ref $old eq 'ARRAY' or croak 'Arg 1 must be an arrayref';
ref $new eq 'ARRAY' or croak 'Arg 2 must be an arrayref';
ref $old eq 'ARRAY' or croak 'Arg 1 must be arrayref';
ref $new eq 'ARRAY' or croak 'Arg 2 must be arrayref';

# check callbacks
{
Expand Down

0 comments on commit e9c083b

Please sign in to comment.