Cleanup in src/, adding namespaces, removing php closing tag and general code cleanup

This commit is contained in:
Alexander Liljengård
2016-05-24 14:10:39 +02:00
parent 9f97eb1653
commit 5694a2fb30
64 changed files with 891 additions and 1328 deletions

View File

@ -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);
}
}
}
?>
}