mirror of
https://github.com/furyfire/trueskill.git
synced 2025-07-06 04:22:45 +02:00
Move to DNW namespace
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<?php namespace Moserware\Skills\Numerics;
|
||||
<?php namespace DNW\Skills\Numerics;
|
||||
|
||||
// The whole purpose of this class is to make the code for the SkillCalculator(s)
|
||||
// look a little cleaner
|
||||
@ -9,7 +9,7 @@ class Range
|
||||
{
|
||||
private $_min;
|
||||
private $_max;
|
||||
|
||||
|
||||
public function __construct($min, $max)
|
||||
{
|
||||
if ($min > $max)
|
||||
@ -24,13 +24,13 @@ class Range
|
||||
public function getMin()
|
||||
{
|
||||
return $this->_min;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function getMax()
|
||||
{
|
||||
return $this->_max;
|
||||
}
|
||||
|
||||
|
||||
protected static function create($min, $max)
|
||||
{
|
||||
return new Range($min, $max);
|
||||
|
Reference in New Issue
Block a user