| Conditions | 2 |
| Paths | 2 |
| Total Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public static function trigger($ambient) |
||
| 18 | { |
||
| 19 | $class = is_object($ambient) ? get_class($ambient) : $ambient; |
||
| 20 | throw new InvalidTypeHintingException('Ambient class does not implement AmbientInterface: ' . $class, ExceptionCodes::AMBIENT_CLASS_DOES_NOT_IMPLEMENT_AMBIENTINTERFACE); |
||
| 21 | } |
||
| 22 | } |