From: Sam Reed Date: Mon, 28 Feb 2011 16:37:34 +0000 (+0000) Subject: Commit some uncommited documentation from my w/c X-Git-Tag: 1.31.0-rc.0~31721 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=f123c151c3144116b1a6868f2c6af30756ecd158;p=lhc%2Fweb%2Fwiklou.git Commit some uncommited documentation from my w/c --- diff --git a/includes/SquidPurgeClient.php b/includes/SquidPurgeClient.php index 1b315e5f53..d439b58121 100644 --- a/includes/SquidPurgeClient.php +++ b/includes/SquidPurgeClient.php @@ -305,6 +305,10 @@ class SquidPurgeClient { } class SquidPurgeClientPool { + + /** + * @var array of SquidPurgeClient + */ var $clients = array(); var $timeout = 5; @@ -314,6 +318,10 @@ class SquidPurgeClientPool { } } + /** + * @param $client SquidPurgeClient + * @return void + */ public function addClient( $client ) { $this->clients[] = $client; } diff --git a/includes/job/JobQueue.php b/includes/job/JobQueue.php index 25702847e7..7cc339eb93 100644 --- a/includes/job/JobQueue.php +++ b/includes/job/JobQueue.php @@ -248,6 +248,12 @@ abstract class Job { * Non-static functions *------------------------------------------------------------------------*/ + /** + * @param $command + * @param $title + * @param $params array + * @param int $id + */ function __construct( $command, $title, $params = false, $id = 0 ) { $this->command = $command; $this->title = $title;