From b2f5a0b696fc36fcadba905eb163f251c303fc45 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 27 Jan 2012 14:30:40 +0000 Subject: [PATCH] Add documentation Fix whitespace --- includes/filerepo/backend/FileBackendGroup.php | 3 +++ includes/filerepo/backend/lockmanager/LockManager.php | 8 ++++---- .../filerepo/backend/lockmanager/LockManagerGroup.php | 4 ++++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/includes/filerepo/backend/FileBackendGroup.php b/includes/filerepo/backend/FileBackendGroup.php index cb4ef3106f..d3deec3168 100644 --- a/includes/filerepo/backend/FileBackendGroup.php +++ b/includes/filerepo/backend/FileBackendGroup.php @@ -12,6 +12,9 @@ * @since 1.19 */ class FileBackendGroup { + /** + * @var FileBackendGroup + */ protected static $instance = null; /** @var Array (name => ('class' => string, 'config' => array, 'instance' => object)) */ diff --git a/includes/filerepo/backend/lockmanager/LockManager.php b/includes/filerepo/backend/lockmanager/LockManager.php index c197976134..bb3260e6f0 100644 --- a/includes/filerepo/backend/lockmanager/LockManager.php +++ b/includes/filerepo/backend/lockmanager/LockManager.php @@ -119,10 +119,10 @@ class ScopedLock { protected function __construct( LockManager $manager, array $paths, $type, Status $status ) { - $this->manager = $manager; - $this->paths = $paths; - $this->status = $status; - $this->type = $type; + $this->manager = $manager; + $this->paths = $paths; + $this->status = $status; + $this->type = $type; } protected function __clone() {} diff --git a/includes/filerepo/backend/lockmanager/LockManagerGroup.php b/includes/filerepo/backend/lockmanager/LockManagerGroup.php index 3fa91d581d..11e77972f8 100644 --- a/includes/filerepo/backend/lockmanager/LockManagerGroup.php +++ b/includes/filerepo/backend/lockmanager/LockManagerGroup.php @@ -7,6 +7,10 @@ * @since 1.19 */ class LockManagerGroup { + + /** + * @var LockManagerGroup + */ protected static $instance = null; /** @var Array of (name => ('class' =>, 'config' =>, 'instance' =>)) */ -- 2.20.1