fix: update return type #5013
psalm-matrix-custom.yml
on: pull_request
Matrix: static-analysis
static-psalm-analysis-summary
6s
Annotations
5 errors
|
static-psalm-analysis dev-master
Process completed with exit code 2.
|
|
InvalidArgument:
lib/Migration/Version000400Date20230406000000.php#L48
lib/Migration/Version000400Date20230406000000.php:48:21: InvalidArgument: Argument 1 of OCP\DB\Schema\IColumn::setType expects 'bigint'|'binary'|'blob'|'boolean'|'date'|'date_immutable'|'datetime'|'datetime_immutable'|'datetimetz'|'datetimetz_immutable'|'decimal'|'float'|'integer'|'json'|'smallint'|'string'|'text'|'time'|'time_immutable'|OCP\DB\Schema\ColumnType, but Doctrine\DBAL\Types\Type provided (see https://psalm.dev/004)
|
|
InvalidArgument:
lib/Migration/Version000400Date20230406000000.php#L44
lib/Migration/Version000400Date20230406000000.php:44:21: InvalidArgument: Argument 1 of OCP\DB\Schema\IColumn::setType expects 'bigint'|'binary'|'blob'|'boolean'|'date'|'date_immutable'|'datetime'|'datetime_immutable'|'datetimetz'|'datetimetz_immutable'|'decimal'|'float'|'integer'|'json'|'smallint'|'string'|'text'|'time'|'time_immutable'|OCP\DB\Schema\ColumnType, but Doctrine\DBAL\Types\Type provided (see https://psalm.dev/004)
|
|
InvalidArgument:
lib/Migration/Version000400Date20230406000000.php#L40
lib/Migration/Version000400Date20230406000000.php:40:21: InvalidArgument: Argument 1 of OCP\DB\Schema\IColumn::setType expects 'bigint'|'binary'|'blob'|'boolean'|'date'|'date_immutable'|'datetime'|'datetime_immutable'|'datetimetz'|'datetimetz_immutable'|'decimal'|'float'|'integer'|'json'|'smallint'|'string'|'text'|'time'|'time_immutable'|OCP\DB\Schema\ColumnType, but Doctrine\DBAL\Types\Type provided (see https://psalm.dev/004)
|
|
static-psalm-analysis-summary
Process completed with exit code 1.
|