| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class PercentStrategy implements CalculationStrategyInterface |
||
| 12 | { |
||
| 13 | /** @var int */ |
||
| 14 | protected $value; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * PercentStrategy constructor. |
||
| 18 | * |
||
| 19 | * @param Percent $percent |
||
| 20 | */ |
||
| 21 | public function __construct(Percent $percent) |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | public function calculate(): bool |
||
| 32 | } |
||
| 33 | } |