Save a Single Question as csv #730
Annotations
11 errors
InvalidArgument:
lib/Controller/ApiController.php#L1129
lib/Controller/ApiController.php:1129:51: InvalidArgument: Argument 1 of OCA\Forms\Service\SubmissionService::getQuestionCsv expects string, but int provided (see https://psalm.dev/004)
|
InvalidArgument:
lib/Controller/ApiController.php#L1129
lib/Controller/ApiController.php:1129:60: InvalidArgument: Argument 2 of OCA\Forms\Service\SubmissionService::getQuestionCsv expects string, but int provided (see https://psalm.dev/004)
|
InvalidArgument:
lib/Controller/ApiController.php#L1157
lib/Controller/ApiController.php:1157:43: InvalidArgument: Argument 1 of OCA\Forms\Service\FormsService::canSeeResults expects OCA\Forms\Db\Form, but int provided (see https://psalm.dev/004)
|
InvalidArgument:
lib/Controller/ApiController.php#L1162
lib/Controller/ApiController.php:1162:53: InvalidArgument: Argument 1 of OCA\Forms\Service\SubmissionService::getSubmissionCsv expects string, but int provided (see https://psalm.dev/004)
|
UndefinedThisPropertyAssignment:
lib/Service/SubmissionService.php#L108
lib/Service/SubmissionService.php:108:3: UndefinedThisPropertyAssignment: Instance property OCA\Forms\Service\SubmissionService::$dateTimeFormatter is not defined (see https://psalm.dev/040)
|
UndefinedThisPropertyFetch:
lib/Service/SubmissionService.php#L245
lib/Service/SubmissionService.php:245:13: UndefinedThisPropertyFetch: Instance property OCA\Forms\Service\SubmissionService::$dateTimeFormatter is not defined (see https://psalm.dev/041)
|
MismatchingDocblockParamType:
lib/Service/SubmissionService.php#L282
lib/Service/SubmissionService.php:282:12: MismatchingDocblockParamType: Parameter $formId has wrong type 'string', should be 'int' (see https://psalm.dev/141)
|
MismatchingDocblockParamType:
lib/Service/SubmissionService.php#L283
lib/Service/SubmissionService.php:283:12: MismatchingDocblockParamType: Parameter $questionId has wrong type 'string', should be 'int' (see https://psalm.dev/141)
|
InvalidScalarArgument:
lib/Service/SubmissionService.php#L288
lib/Service/SubmissionService.php:288:39: InvalidScalarArgument: Argument 1 of OCA\Forms\Db\FormMapper::findById expects int, but string provided (see https://psalm.dev/012)
|
InvalidScalarArgument:
lib/Service/SubmissionService.php#L296
lib/Service/SubmissionService.php:296:47: InvalidScalarArgument: Argument 1 of OCA\Forms\Db\QuestionMapper::findById expects int, but string provided (see https://psalm.dev/012)
|
psalm-summary
Process completed with exit code 1.
|