META: Documentation fixes

This commit is contained in:
Jeroen De Meerleer 2019-12-25 13:55:14 +01:00
parent a2f6cd5e53
commit bb7086c3ec
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
2 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,9 @@
* CHANGE: Some fields has been renamed to match coding guideline (Please see [1ab96fa](https://github.com/JeroenED/libpairtwo/commit/1ab96fa04782c1b0f2b6bb9d1bac8397a74ab38e) for more info) * CHANGE: Some fields has been renamed to match coding guideline (Please see [1ab96fa](https://github.com/JeroenED/libpairtwo/commit/1ab96fa04782c1b0f2b6bb9d1bac8397a74ab38e) for more info)
* CHANGE: Logo has been redesigned * CHANGE: Logo has been redesigned
* CHANGE: Phpdoc is used again for docs generation * CHANGE: Phpdoc is used again for docs generation
* REMOVED: `Tiebreak::American` and all its uses were removed (Please see [a6015ae](https://github.com/JeroenED/libpairtwo/commit/a6015ae8169f0973f4937605d0f807aacc233630) for more info) * CHANGE: `Tiebreak::American` and all its uses were removed (Please see [a6015ae](https://github.com/JeroenED/libpairtwo/commit/a6015ae8169f0973f4937605d0f807aacc233630) for more info)
* CHANGE: `Tournament::calculateSonneborn()` did not use a virtual opponent for bye results
* BUGFIX: `Tournament::calculateMutualResult()` returned a value even it not all players did not play each other
## v1.2 (Release: 28-sep-2019) ## v1.2 (Release: 28-sep-2019)
* NEW READER: `Readers\Swar-4` for reading out files created with SWAR version 4. * NEW READER: `Readers\Swar-4` for reading out files created with SWAR version 4.

View File

@ -238,10 +238,9 @@ class Player
/** /**
* Returns the points of a virtual player as described in the Fide Handbook C.02 chapter 13.15.2. * Returns the points of a virtual player as described in the Fide Handbook C.02 chapter 13.15.2.
* *
* 1 Point is awarded for winning * Return the same score for all rounds until $byeround and added with a half point for each subsequent round
* 0.5 points are awarded for draw
* Unplayed results are conside
* *
* @param int $byeround
* @return float * @return float
*/ */
public function calculatePointsForVirtualPlayer(int $byeround): float public function calculatePointsForVirtualPlayer(int $byeround): float