From d71f05290ec82040dd3229b85d3d53a8f684f990 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thiemo=20M=C3=A4ttig?= Date: Wed, 18 Mar 2015 17:22:52 +0100 Subject: [PATCH] Fix and make PHPDoc tags in FileBackend more specific A pure documentation patch. Should almost be a no-brainer. ;-) Change-Id: I9bf4d6056f7cde193fe5882a04a7973af9b5a7f4 --- includes/filebackend/FSFileBackend.php | 5 +++++ includes/filebackend/FileBackendStore.php | 10 ++++++---- includes/filebackend/SwiftFileBackend.php | 5 +++++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/includes/filebackend/FSFileBackend.php b/includes/filebackend/FSFileBackend.php index c00fb81fdf..07370ad289 100644 --- a/includes/filebackend/FSFileBackend.php +++ b/includes/filebackend/FSFileBackend.php @@ -681,6 +681,11 @@ class FSFileBackend extends FileBackendStore { return false; } + /** + * @param FileBackendStoreOpHandle[] $fileOpHandles + * + * @return Status[] + */ protected function doExecuteOpHandlesInternal( array $fileOpHandles ) { $statuses = array(); diff --git a/includes/filebackend/FileBackendStore.php b/includes/filebackend/FileBackendStore.php index 06fb2c6e66..1b6c682026 100644 --- a/includes/filebackend/FileBackendStore.php +++ b/includes/filebackend/FileBackendStore.php @@ -1198,9 +1198,9 @@ abstract class FileBackendStore extends FileBackend { * The resulting Status object fields will correspond * to the order in which the handles where given. * - * @param array $fileOpHandles + * @param FileBackendStoreOpHandle[] $fileOpHandles + * * @throws FileBackendError - * @internal param array $handles List of FileBackendStoreOpHandle objects * @return array Map of Status objects */ final public function executeOpHandlesInternal( array $fileOpHandles ) { @@ -1223,9 +1223,11 @@ abstract class FileBackendStore extends FileBackend { /** * @see FileBackendStore::executeOpHandlesInternal() - * @param array $fileOpHandles + * + * @param FileBackendStoreOpHandle[] $fileOpHandles + * * @throws FileBackendError - * @return array List of corresponding Status objects + * @return Status[] List of corresponding Status objects */ protected function doExecuteOpHandlesInternal( array $fileOpHandles ) { if ( count( $fileOpHandles ) ) { diff --git a/includes/filebackend/SwiftFileBackend.php b/includes/filebackend/SwiftFileBackend.php index 7234474081..ba8fee9837 100644 --- a/includes/filebackend/SwiftFileBackend.php +++ b/includes/filebackend/SwiftFileBackend.php @@ -1165,6 +1165,11 @@ class SwiftFileBackend extends FileBackendStore { return $hdrs; } + /** + * @param FileBackendStoreOpHandle[] $fileOpHandles + * + * @return Status[] + */ protected function doExecuteOpHandlesInternal( array $fileOpHandles ) { $statuses = array(); -- 2.20.1