mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-04 02:02:29 +01:00 
			
		
		
		
	More warnings from Psalm. Reduced Psalm config size
This commit is contained in:
		@@ -8,7 +8,7 @@ use Exception;
 | 
			
		||||
 | 
			
		||||
class Matrix
 | 
			
		||||
{
 | 
			
		||||
    public const ERROR_TOLERANCE = 0.0000000001;
 | 
			
		||||
    public const float ERROR_TOLERANCE = 0.0000000001;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * @param array<int,array<int,float>> $matrixRowData
 | 
			
		||||
 
 | 
			
		||||
@@ -11,11 +11,11 @@ use Exception;
 | 
			
		||||
 */
 | 
			
		||||
abstract class SkillCalculator
 | 
			
		||||
{
 | 
			
		||||
    public const NONE = 0x00;
 | 
			
		||||
    public const int NONE = 0x00;
 | 
			
		||||
 | 
			
		||||
    public const PARTIAL_PLAY = 0x01;
 | 
			
		||||
    public const int PARTIAL_PLAY = 0x01;
 | 
			
		||||
 | 
			
		||||
    public const PARTIAL_UPDATE = 0x02;
 | 
			
		||||
    public const int PARTIAL_UPDATE = 0x02;
 | 
			
		||||
 | 
			
		||||
    protected function __construct(
 | 
			
		||||
        private readonly int $supportedOptions,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user