[TOOLS] Continue raising PHPStan level to 6
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user