New code review fixs

This commit is contained in:
Antoine Lamirault authored and Adrien Loison committed 2021-03-30 19:42:21 +02:00
1 parent 11d91e1740
commit c6f596c776
5 files changed
+10 -21

No files matched your search

+2 -2
View File
@@ -490,13 +490,13 @@ class Style
return $this->isRegistered;
}
public function register(int $id) : void
public function markAsRegistered(?int $id) : void
{
$this->setId($id);
$this->isRegistered = true;
}
public function unregister() : void
public function unmarkAsRegistered() : void
{
$this->setId(0);
$this->isRegistered = false;