Change-Id: I76e2fba8eab11e1669b1745b9ed8b9c3c8c39caa
* @ingroup SpecialPage
*/
class UploadSourceAdapter {
- /** @var array */
+ /** @var ImportSource[] */
public static $sourceRegistrations = [];
- /** @var string */
+ /** @var ImportSource */
private $mSource;
/** @var string */
/**
* @param string $path
* @param string $mode
- * @param array $options
+ * @param int $options
* @param string &$opened_path
* @return bool
*/
/**
* @param string $data
- * @return bool
+ * @return false
*/
function stream_write( $data ) {
return false;
}
/**
- * @return mixed
+ * @return int
*/
function stream_tell() {
return $this->mPosition;
}
/**
- * @return array
+ * @return int[]
*/
function url_stat() {
$result = [];