mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-20 04:44:28 +00:00
Upgrade with rector
This commit is contained in:
@ -2,19 +2,16 @@
|
||||
|
||||
namespace DNW\Skills\FactorGraphs;
|
||||
|
||||
abstract class Schedule
|
||||
abstract class Schedule implements \Stringable
|
||||
{
|
||||
private $_name;
|
||||
|
||||
protected function __construct($name)
|
||||
protected function __construct(private $_name)
|
||||
{
|
||||
$this->_name = $name;
|
||||
}
|
||||
|
||||
abstract public function visit($depth = -1, $maxDepth = 0);
|
||||
|
||||
public function __toString()
|
||||
public function __toString(): string
|
||||
{
|
||||
return $this->_name;
|
||||
return (string) $this->_name;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user