jenkins-bot has submitted this change and it was merged.
Change subject: Add documentation to class constructors.
......................................................................
Add documentation to class constructors.
Change-Id: Iec0016d0dce41bf9fc325aa9d605e66ee612f1b5
---
M BounceHandlerActions.php
M ProcessUnRecognizedBounces.php
2 files changed, 9 insertions(+), 0 deletions(-)
Approvals:
Hoo man: Looks good to me, approved
jenkins-bot: Verified
diff --git a/BounceHandlerActions.php b/BounceHandlerActions.php
index 73ce61c..0b3292a 100644
--- a/BounceHandlerActions.php
+++ b/BounceHandlerActions.php
@@ -19,6 +19,11 @@
*/
protected $bounceRecordLimit;
+ /**
+ * @param string $wikiId The database id of the failing recipient
+ * @param int $bounceRecordPeriod Time period for which bounce
activities are considered before un-subscribing
+ * @param int $bounceRecordLimit The number of bounce allowed in the
bounceRecordPeriod.
+ */
public function __construct( $wikiId, $bounceRecordPeriod,
$bounceRecordLimit ) {
$this->wikiId = $wikiId;
$this->bounceRecordPeriod = $bounceRecordPeriod;
diff --git a/ProcessUnRecognizedBounces.php b/ProcessUnRecognizedBounces.php
index 55ed5c5..34f0889 100644
--- a/ProcessUnRecognizedBounces.php
+++ b/ProcessUnRecognizedBounces.php
@@ -10,6 +10,10 @@
*/
protected $unrecognizedBounceNotify;
+ /**
+ * @param array $unrecognizedBounceNotify The array of admins to be
notified on a bounce parse failure
+ * @param string $passwordSender The default email Return path address
+ */
public function __construct( $unrecognizedBounceNotify, $passwordSender
) {
$this->unrecognizedBounceNotify = $unrecognizedBounceNotify;
$this->passwordSender = $passwordSender;
--
To view, visit https://gerrit.wikimedia.org/r/149912
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iec0016d0dce41bf9fc325aa9d605e66ee612f1b5
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/BounceHandler
Gerrit-Branch: master
Gerrit-Owner: 01tonythomas <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits