Skip to content

Commit 6a4c3d0

Browse files
Fix
1 parent 31cf3f6 commit 6a4c3d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

includes/Services/WikiRequestManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,11 +695,11 @@ public function getDBname(): string {
695695
}
696696

697697
public function getVisibility(): int {
698-
return $this->getRowObject()->cw_visibility;
698+
return (int)$this->getRowObject()->cw_visibility;
699699
}
700700

701701
public function getRequester(): User {
702-
return $this->userFactory->newFromId( $this->getRowObject()->cw_user );
702+
return $this->userFactory->newFromId( (int)$this->getRowObject()->cw_user );
703703
}
704704

705705
public function getStatus(): string {

0 commit comments

Comments
 (0)