mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-19 04:14:28 +00:00
More types
This commit is contained in:
@ -6,15 +6,14 @@ class Message implements \Stringable
|
||||
{
|
||||
public function __construct(private ?object $value = null, private ?string $name = null)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function getValue()
|
||||
public function getValue(): ?object
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
|
||||
public function setValue($value)
|
||||
public function setValue(?object $value): void
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user