// in BattleReport.php
// function getAfterBattlePlayerGroup
if (!$endFleet->existShipType($idShipType))
{
$endShipType = $shipType;
}
else
{
$endShipType = $endFleet->getShipType($idShipType);
$endShipType->increment($shipType->getCount());
}
// should be
$endFleet->add( $shipType);