mirror of
https://github.com/furyfire/trueskill.git
synced 2026-01-09 14:46:56 +01:00
More type work.
This commit is contained in:
@@ -4,8 +4,9 @@ namespace DNW\Skills\FactorGraphs;
|
||||
|
||||
class Message implements \Stringable
|
||||
{
|
||||
public function __construct(private $value = null, private $name = null)
|
||||
public function __construct(private ?object $value = null, private ?string $name = null)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function getValue()
|
||||
|
||||
Reference in New Issue
Block a user