From f123c151c3144116b1a6868f2c6af30756ecd158 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 28 Feb 2011 16:37:34 +0000 Subject: [PATCH] Commit some uncommited documentation from my w/c --- includes/SquidPurgeClient.php | 8 ++++++++ includes/job/JobQueue.php | 6 ++++++ 2 files changed, 14 insertions(+) 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; -- 2.20.1