mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-19 04:14:28 +00:00
Upgrade with rector
This commit is contained in:
@ -6,15 +6,15 @@ use DNW\Skills\Guard;
|
||||
use DNW\Skills\HashMap;
|
||||
use Exception;
|
||||
|
||||
abstract class Factor
|
||||
abstract class Factor implements \Stringable
|
||||
{
|
||||
private $_messages = [];
|
||||
private array $_messages = [];
|
||||
|
||||
private $_messageToVariableBinding;
|
||||
|
||||
private $_name;
|
||||
|
||||
private $_variables = [];
|
||||
private array $_variables = [];
|
||||
|
||||
protected function __construct($name)
|
||||
{
|
||||
@ -111,7 +111,7 @@ abstract class Factor
|
||||
return $message;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
public function __toString(): string
|
||||
{
|
||||
return $this->_name;
|
||||
}
|
||||
|
Reference in New Issue
Block a user