X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=blobdiff_plain;f=includes%2Fimport%2FUploadSourceAdapter.php;h=8768f0740f3dae38f77595d27dd782392743bca3;hb=1880c8401a0638be07a4fe5139ab425eb725e0ee;hp=ccacbe4a7c62ec634aaf4ad5fa6ed96ddc359bb2;hpb=9404f8a589a9eed548da33fbfbcb12d3038e59e0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/import/UploadSourceAdapter.php b/includes/import/UploadSourceAdapter.php index ccacbe4a7c..8768f0740f 100644 --- a/includes/import/UploadSourceAdapter.php +++ b/includes/import/UploadSourceAdapter.php @@ -29,10 +29,10 @@ * @ingroup SpecialPage */ class UploadSourceAdapter { - /** @var array */ + /** @var ImportSource[] */ public static $sourceRegistrations = []; - /** @var string */ + /** @var ImportSource */ private $mSource; /** @var string */ @@ -56,7 +56,7 @@ class UploadSourceAdapter { /** * @param string $path * @param string $mode - * @param array $options + * @param int $options * @param string &$opened_path * @return bool */ @@ -104,14 +104,14 @@ class UploadSourceAdapter { /** * @param string $data - * @return bool + * @return false */ function stream_write( $data ) { return false; } /** - * @return mixed + * @return int */ function stream_tell() { return $this->mPosition; @@ -125,7 +125,7 @@ class UploadSourceAdapter { } /** - * @return array + * @return int[] */ function url_stat() { $result = [];