This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=a63918513103c313c668b3d1b6d4da697a7f730c

commit a63918513103c313c668b3d1b6d4da697a7f730c
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Aug 6 03:15:28 2024 +0200

    Dpkg::Deps::Multiple: Document that the constructor takes @deps not %opts
    
    The documented constructor signature was wrong, as it takes a list of
    dependencies and not an options hash.
---
 scripts/Dpkg/Deps/Multiple.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/Dpkg/Deps/Multiple.pm b/scripts/Dpkg/Deps/Multiple.pm
index 1aed3ecff..ca9aa6d1d 100644
--- a/scripts/Dpkg/Deps/Multiple.pm
+++ b/scripts/Dpkg/Deps/Multiple.pm
@@ -47,9 +47,9 @@ use parent qw(Dpkg::Interface::Storable);
 
 =over 4
 
-=item $dep = Dpkg::Deps::Multiple->new(%opts);
+=item $dep = Dpkg::Deps::Multiple->new(@deps);
 
-Creates a new object.
+Creates a new object, with the list of dependencies in @deps.
 
 =cut
 

-- 
Dpkg.Org's dpkg

Reply via email to