Merge pull request #19819 from nextcloud/fix/mismatching-docblock-param-type
Fix mismatching doc block parameter types
This commit is contained in:
commit
5a8c7854d6
|
@ -48,7 +48,7 @@ abstract class BaseResponse extends Response {
|
||||||
/**
|
/**
|
||||||
* BaseResponse constructor.
|
* BaseResponse constructor.
|
||||||
*
|
*
|
||||||
* @param DataResponse|null $dataResponse
|
* @param DataResponse $dataResponse
|
||||||
* @param string $format
|
* @param string $format
|
||||||
* @param string|null $statusMessage
|
* @param string|null $statusMessage
|
||||||
* @param int|null $itemsCount
|
* @param int|null $itemsCount
|
||||||
|
|
|
@ -181,7 +181,7 @@ class Manager {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array $states
|
* @param array $states
|
||||||
* @param IProvider $providers
|
* @param IProvider[] $providers
|
||||||
*/
|
*/
|
||||||
private function isProviderMissing(array $states, array $providers): bool {
|
private function isProviderMissing(array $states, array $providers): bool {
|
||||||
$indexed = [];
|
$indexed = [];
|
||||||
|
|
|
@ -62,7 +62,7 @@ class Migrator {
|
||||||
private $noEmit = false;
|
private $noEmit = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param \Doctrine\DBAL\Connection|Connection $connection
|
* @param \Doctrine\DBAL\Connection $connection
|
||||||
* @param ISecureRandom $random
|
* @param ISecureRandom $random
|
||||||
* @param IConfig $config
|
* @param IConfig $config
|
||||||
* @param EventDispatcherInterface $dispatcher
|
* @param EventDispatcherInterface $dispatcher
|
||||||
|
|
|
@ -52,10 +52,11 @@ class GeneratorHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IProvider $provider
|
* @param IProviderV2 $provider
|
||||||
* @param File $file
|
* @param File $file
|
||||||
* @param int $maxWidth
|
* @param int $maxWidth
|
||||||
* @param int $maxHeight
|
* @param int $maxHeight
|
||||||
|
*
|
||||||
* @return bool|IImage
|
* @return bool|IImage
|
||||||
*/
|
*/
|
||||||
public function getThumbnail(IProviderV2 $provider, File $file, $maxWidth, $maxHeight) {
|
public function getThumbnail(IProviderV2 $provider, File $file, $maxWidth, $maxHeight) {
|
||||||
|
|
|
@ -181,7 +181,7 @@ interface IIndex {
|
||||||
* @since 15.0.0
|
* @since 15.0.0
|
||||||
*
|
*
|
||||||
* @param string $option
|
* @param string $option
|
||||||
* @param string|int $value
|
* @param string $value
|
||||||
*
|
*
|
||||||
* @return IIndex
|
* @return IIndex
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue