mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-04 10:12:28 +01:00 
			
		
		
		
	Rector standards slowly being applied. PHP Version first.
This commit is contained in:
		@@ -13,7 +13,7 @@ class Matrix
 | 
			
		||||
    /**
 | 
			
		||||
     * @param array<int,array<int,float>> $matrixRowData
 | 
			
		||||
     */
 | 
			
		||||
    public function __construct(private int $rowCount = 0, private int $columnCount = 0, private array $matrixRowData = [])
 | 
			
		||||
    public function __construct(private readonly int $rowCount = 0, private readonly int $columnCount = 0, private array $matrixRowData = [])
 | 
			
		||||
    {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@ use Exception;
 | 
			
		||||
 | 
			
		||||
class Range
 | 
			
		||||
{
 | 
			
		||||
    final public function __construct(private int $min, private int $max)
 | 
			
		||||
    final public function __construct(private readonly int $min, private readonly int $max)
 | 
			
		||||
    {
 | 
			
		||||
        if ($min > $max) {
 | 
			
		||||
            throw new Exception('min > max');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user