New code review fixs
This commit is contained in:
1 parent
11d91e1740
commit
c6f596c776
5 files changed
+10
-21
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user