From: Antoine Musso Date: Fri, 26 Nov 2010 07:45:12 +0000 (+0000) Subject: doc comments: fix grammar and return parameter. fu r77296 X-Git-Tag: 1.31.0-rc.0~33725 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=79101aa619e7284c040c183eaab960393b620490;p=lhc%2Fweb%2Fwiklou.git doc comments: fix grammar and return parameter. fu r77296 --- 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 ) ) {