for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php declare(strict_types=1);
namespace Smr;
use SmrShipType;
/**
* Data storage for the SmrShip::illusionShip property.
*/
class ShipIllusion {
public function __construct(
public readonly int $shipTypeID,
public readonly int $attackRating,
public readonly int $defenseRating,
) {}
public function getName(): string {
return SmrShipType::get($this->shipTypeID)->getName();
}