| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | 6 | public function __construct( |
|
| 18 | string $name, |
||
| 19 | string $description, |
||
| 20 | Coin $sellValue, |
||
| 21 | Coin $buyValue, |
||
| 22 | Damage $damage, |
||
| 23 | WeaponMasteryLevel $requiredWeaponMasteryLevel, |
||
| 24 | protected Strength $requiredStrength, |
||
| 25 | ) { |
||
| 26 | 6 | parent::__construct( |
|
| 27 | 6 | $name, |
|
| 28 | $description, |
||
| 29 | $sellValue, |
||
| 30 | $buyValue, |
||
| 31 | 6 | WeaponType::greatSword(), |
|
| 32 | $damage, |
||
| 33 | 6 | WeaponMastery::greatSword($requiredWeaponMasteryLevel), |
|
| 34 | ); |
||
| 37 |