Bugzilla – Attachment 83513 Details for
Bug 21909
Koha::Account::outstanding_* methods should preserve call context
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21909: Add return type explanation to POD
Bug-21909-Add-return-type-explanation-to-POD.patch (text/plain), 1.26 KB, created by
Tomás Cohen Arazi (tcohen)
on 2018-12-26 17:51:11 UTC
(
hide
)
Description:
Bug 21909: Add return type explanation to POD
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-12-26 17:51:11 UTC
Size:
1.26 KB
patch
obsolete
>From f49352b20a082665db39460c1994ba4a6220b1f6 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 29 Nov 2018 12:15:33 -0300 >Subject: [PATCH] Bug 21909: Add return type explanation to POD > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > Koha/Account.pm | 10 ++++++++++ > 1 file changed, 10 insertions(+) > >diff --git a/Koha/Account.pm b/Koha/Account.pm >index 304d0e2743..eeb87a546c 100644 >--- a/Koha/Account.pm >+++ b/Koha/Account.pm >@@ -423,6 +423,11 @@ sub balance { > > my $lines = Koha::Account->new({ patron_id => $patron_id })->outstanding_debits; > >+It returns the debit lines with outstanding amounts for the patron. >+ >+In scalar context, it returns a Koha::Account::Lines iterator. In list context, it will >+return a list of Koha::Account::Line objects. >+ > =cut > > sub outstanding_debits { >@@ -440,6 +445,11 @@ sub outstanding_debits { > > my $lines = Koha::Account->new({ patron_id => $patron_id })->outstanding_credits; > >+It returns the credit lines with outstanding amounts for the patron. >+ >+In scalar context, it returns a Koha::Account::Lines iterator. In list context, it will >+return a list of Koha::Account::Line objects. >+ > =cut > > sub outstanding_credits { >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21909
:
82746
|
82747
|
82748
|
82751
|
82752
|
82753
|
82799
|
82800
|
82801
|
83511
|
83512
| 83513