diff options
author | Umherirrender <umherirrender_de.wp@web.de> | 2024-09-01 13:53:01 +0200 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2024-09-01 12:09:37 +0000 |
commit | 20dadba5be7f3dc8e22aeb7a0726df985f1c5f0b (patch) | |
tree | dbf6f3ca74936e5284c75b3c30690287331defbe /includes/filerepo/file | |
parent | d1c03580c5f7705ec96bca7e40700411d1197adf (diff) | |
download | mediawikicore-20dadba5be7f3dc8e22aeb7a0726df985f1c5f0b.tar.gz mediawikicore-20dadba5be7f3dc8e22aeb7a0726df985f1c5f0b.zip |
filerepo: Add missing documentation to class properties
Add doc-typehints to class properties found by the PropertyDocumentation
sniff to improve the documentation.
Once the sniff is enabled it avoids that new code is missing type
declarations. This is focused on documentation and does not change code.
Change-Id: Ifbc2ce0c68865c5d32689e56c6215a5099f7478b
Diffstat (limited to 'includes/filerepo/file')
-rw-r--r-- | includes/filerepo/file/ForeignAPIFile.php | 1 | ||||
-rw-r--r-- | includes/filerepo/file/LocalFileMoveBatch.php | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/includes/filerepo/file/ForeignAPIFile.php b/includes/filerepo/file/ForeignAPIFile.php index 923eaaade2fa..f9d1993bbbbe 100644 --- a/includes/filerepo/file/ForeignAPIFile.php +++ b/includes/filerepo/file/ForeignAPIFile.php @@ -35,6 +35,7 @@ class ForeignAPIFile extends File { /** @var array */ private $mInfo; + /** @inheritDoc */ protected $repoClass = ForeignAPIRepo::class; /** diff --git a/includes/filerepo/file/LocalFileMoveBatch.php b/includes/filerepo/file/LocalFileMoveBatch.php index f25ca6b313ce..72fc081930fc 100644 --- a/includes/filerepo/file/LocalFileMoveBatch.php +++ b/includes/filerepo/file/LocalFileMoveBatch.php @@ -39,10 +39,13 @@ class LocalFileMoveBatch { /** @var Title */ protected $target; + /** @var string[] */ protected $cur; + /** @var string[][] */ protected $olds; + /** @var int */ protected $oldCount; protected $archive; |