Merge pull request #19819 from nextcloud/fix/mismatching-docblock-param-type

Fix mismatching doc block parameter types
This commit is contained in:
Roeland Jago Douma 2020-03-09 16:09:23 +01:00 committed by GitHub
commit 5a8c7854d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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 = [];

View File

@ -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

View File

@ -51,7 +51,7 @@ class MySQLMigrator extends Migrator {
return $schemaDiff; return $schemaDiff;
} }
/** /**
* Speed up migration test by disabling autocommit and unique indexes check * Speed up migration test by disabling autocommit and unique indexes check
* *

View File

@ -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) {

View File

@ -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
*/ */