dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update docblocks for methods potentially returning null
[lhc/web/wiklou.git]
/
includes
/
import
/
UploadSourceAdapter.php
diff --git
a/includes/import/UploadSourceAdapter.php
b/includes/import/UploadSourceAdapter.php
index
ccacbe4
..
8768f07
100644
(file)
--- a/
includes/import/UploadSourceAdapter.php
+++ b/
includes/import/UploadSourceAdapter.php
@@
-29,10
+29,10
@@
* @ingroup SpecialPage
*/
class UploadSourceAdapter {
* @ingroup SpecialPage
*/
class UploadSourceAdapter {
- /** @var
array
*/
+ /** @var
ImportSource[]
*/
public static $sourceRegistrations = [];
public static $sourceRegistrations = [];
- /** @var
string
*/
+ /** @var
ImportSource
*/
private $mSource;
/** @var string */
private $mSource;
/** @var string */
@@
-56,7
+56,7
@@
class UploadSourceAdapter {
/**
* @param string $path
* @param string $mode
/**
* @param string $path
* @param string $mode
- * @param
array
$options
+ * @param
int
$options
* @param string &$opened_path
* @return bool
*/
* @param string &$opened_path
* @return bool
*/
@@
-104,14
+104,14
@@
class UploadSourceAdapter {
/**
* @param string $data
/**
* @param string $data
- * @return
bool
+ * @return
false
*/
function stream_write( $data ) {
return false;
}
/**
*/
function stream_write( $data ) {
return false;
}
/**
- * @return
mixed
+ * @return
int
*/
function stream_tell() {
return $this->mPosition;
*/
function stream_tell() {
return $this->mPosition;
@@
-125,7
+125,7
@@
class UploadSourceAdapter {
}
/**
}
/**
- * @return
array
+ * @return
int[]
*/
function url_stat() {
$result = [];
*/
function url_stat() {
$result = [];