| Total Complexity | 3 | 
| Total Lines | 26 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 8 | class IsActionResponseType extends Constraint  | 
            ||
| 9 | { | 
            ||
| 10 | private $actionType;  | 
            ||
| 11 | |||
| 12 | 14 | public function __construct($actionType)  | 
            |
| 13 |     { | 
            ||
| 14 | 14 | $this->actionType = $actionType;  | 
            |
| 15 | 14 | }  | 
            |
| 16 | |||
| 17 | /**  | 
            ||
| 18 |      * {@inheritdoc} | 
            ||
| 19 | */  | 
            ||
| 20 | 7 | public function toString(): string  | 
            |
| 21 |     { | 
            ||
| 22 | 7 |         return \sprintf('matches the "%s" Action response', $this->actionType); | 
            |
| 23 | }  | 
            ||
| 24 | |||
| 25 | 14 | public function matches($response): bool  | 
            |
| 34 | }  | 
            ||
| 35 | }  | 
            ||
| 36 |