From 79101aa619e7284c040c183eaab960393b620490 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Fri, 26 Nov 2010 07:45:12 +0000 Subject: [PATCH] doc comments: fix grammar and return parameter. fu r77296 --- includes/BagOStuff.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/BagOStuff.php b/includes/BagOStuff.php index 5ef9472f6f..d2badc0bcc 100644 --- a/includes/BagOStuff.php +++ b/includes/BagOStuff.php @@ -131,7 +131,9 @@ abstract class BagOStuff { } /** - * @return null if lock is not possible. New value incremented by 1 + * @param $key String: Key yo increase + * @param $value Integer: Value to add to $key (Default 1) + * @return null if lock is not possible else $key value increased by $value */ public function incr( $key, $value = 1 ) { if ( !$this->lock( $key ) ) { -- 2.20.1