Rector changes + namespace changes

This commit is contained in:
2024-04-23 17:43:23 +02:00
parent 63fe8070c4
commit ed3e0f889e
116 changed files with 816 additions and 831 deletions

View File

@@ -129,7 +129,7 @@ class Document implements TrackCreationInterface, TrackUpdateInterface
return $this;
}
public function setUser($user): self
public function setUser(?\Chill\MainBundle\Entity\User $user): self
{
$this->user = $user;

View File

@@ -86,7 +86,7 @@ class DocumentCategory
return $this;
}
public function setDocumentClass($documentClass): self
public function setDocumentClass(?string $documentClass): self
{
$this->documentClass = $documentClass;

View File

@@ -55,14 +55,14 @@ class PersonDocument extends Document implements HasCenterInterface, HasScopeInt
return $this->scope;
}
public function setPerson($person): self
public function setPerson(\Chill\PersonBundle\Entity\Person $person): self
{
$this->person = $person;
return $this;
}
public function setScope($scope): self
public function setScope(?\Chill\MainBundle\Entity\Scope $scope): self
{
$this->scope = $scope;