Fixing User#getName() when name is null.
This commit is contained in:
parent
5aa09ada31
commit
45c3a0d9c9
|
@ -135,7 +135,7 @@ class User
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getName(): string
|
public function getName()
|
||||||
{
|
{
|
||||||
return $this->name;
|
return $this->name;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue