Fix mismatching doc block parameter types

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst
2020-03-06 16:28:42 +01:00
parent ed81337461
commit 5fc4c91a76
6 changed files with 7 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ abstract class BaseResponse extends Response {
/**
* BaseResponse constructor.
*
* @param DataResponse|null $dataResponse
* @param DataResponse $dataResponse
* @param string $format
* @param string|null $statusMessage
* @param int|null $itemsCount

View File

@@ -181,7 +181,7 @@ class Manager {
/**
* @param array $states
* @param IProvider $providers
* @param IProvider[] $providers
*/
private function isProviderMissing(array $states, array $providers): bool {
$indexed = [];

View File

@@ -62,7 +62,7 @@ class Migrator {
private $noEmit = false;
/**
* @param \Doctrine\DBAL\Connection|Connection $connection
* @param \Doctrine\DBAL\Connection $connection
* @param ISecureRandom $random
* @param IConfig $config
* @param EventDispatcherInterface $dispatcher

View File

@@ -51,7 +51,7 @@ class MySQLMigrator extends Migrator {
return $schemaDiff;
}
/**
* 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 int $maxWidth
* @param int $maxHeight
*
* @return bool|IImage
*/
public function getThumbnail(IProviderV2 $provider, File $file, $maxWidth, $maxHeight) {

View File

@@ -181,7 +181,7 @@ interface IIndex {
* @since 15.0.0
*
* @param string $option
* @param string|int $value
* @param string $value
*
* @return IIndex
*/