return empty array instead of empty array ref collab/phasefx/warnings
authorJason Etheridge <jason@esilibrary.com>
Tue, 6 Aug 2013 19:58:49 +0000 (15:58 -0400)
committerJason Etheridge <jason@esilibrary.com>
Tue, 6 Aug 2013 19:58:49 +0000 (15:58 -0400)
Though the empty array ref doesn't appear to break anything, an empty array is
more correct

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
src/perl/lib/OpenSRF/DomainObject/oilsMethod.pm

index fad2efa..c7d8c12 100644 (file)
@@ -94,7 +94,7 @@ sub params {
     if ($self->{params}) {
            return @{ $self->{params} };
     } else {
-        return [];
+        return ();
     }
 }