Skip to content

Commit 3a24dc4

Browse files
committed
fix: parse arguments to CardService.reorder correctly to int
Signed-off-by: Viktor Diezel <viktor.diezel@posteo.de>
1 parent 18eea35 commit 3a24dc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Service/CardService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ public function rename($id, $title) {
439439
* @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException
440440
* @throws BadRequestException
441441
*/
442-
public function reorder($id, $stackId, $order) {
442+
public function reorder(int $id, int $stackId, int $order) {
443443
$this->cardServiceValidator->check(compact('id', 'stackId', 'order'));
444444

445445
$this->permissionService->checkPermission($this->cardMapper, $id, Acl::PERMISSION_EDIT);

0 commit comments

Comments
 (0)