| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 14 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 27 | public function __construct($identifier, $type)  | 
            ||
| 28 |     { | 
            ||
| 29 | $this->identifier = $identifier;  | 
            ||
| 30 | |||
| 31 |         if (!in_array($type, [self::TYPE_GATEWAY, self::TYPE_SECOND_FACTOR_ONLY])) { | 
            ||
| 32 | throw InvalidArgumentException::invalidType(  | 
            ||
| 33 | 'AuthnContextClassRef class constant',  | 
            ||
| 34 | 'type',  | 
            ||
| 35 | $type  | 
            ||
| 36 | );  | 
            ||
| 37 | }  | 
            ||
| 38 | |||
| 39 | $this->type = $type;  | 
            ||
| 40 | }  | 
            ||
| 41 | |||
| 75 |