mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-19 12:24:28 +00:00
Cleanup in src/, adding namespaces, removing php closing tag and general code cleanup
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
namespace Moserware\Skills;
|
||||
<?php namespace Moserware\Skills;
|
||||
|
||||
/**
|
||||
* Represents a comparison between two players.
|
||||
@ -15,13 +14,11 @@ class PairwiseComparison
|
||||
{
|
||||
switch ($comparison) {
|
||||
case PairwiseComparison::WIN:
|
||||
return array(1,2);
|
||||
return array(1, 2);
|
||||
case PairwiseComparison::LOSE:
|
||||
return array(2,1);
|
||||
return array(2, 1);
|
||||
default:
|
||||
return array(1,1);
|
||||
return array(1, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
Reference in New Issue
Block a user