[TOOLS] Continue raising PHPStan level to 6

This commit is contained in:
2022-10-19 22:39:17 +01:00
parent c31f3d4997
commit 2fd46ca886
89 changed files with 646 additions and 278 deletions

View File

@@ -16,7 +16,8 @@ class PinnedNotes extends Entity
{
return $this->id;
}
public function setId($id)
public function setId(int $id): self
{
$this->id = $id;
return $this;
@@ -26,7 +27,8 @@ class PinnedNotes extends Entity
{
return $this->actor_id;
}
public function setActorId($actor_id)
public function setActorId(int $actor_id): self
{
$this->actor_id = $actor_id;
return $this;
@@ -36,7 +38,8 @@ class PinnedNotes extends Entity
{
return $this->note_id;
}
public function setNoteId($note_id)
public function setNoteId(int $note_id): self
{
$this->note_id = $note_id;
return $this;