| Total Complexity | 5 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class I { |
||
| 22 | private static $actor = SpecActor::class; |
||
| 23 | |||
| 24 | public static function __callStatic($name, $arguments) { |
||
| 30 | } |
||
| 31 | |||
| 32 | private static function getActor(): SpecActor { |
||
| 33 | if (is_string(self::$actor)) { |
||
|
|
|||
| 34 | self::$actor = new self::$actor; |
||
| 35 | } |
||
| 36 | |||
| 37 | return self::$actor; |
||
| 38 | } |
||
| 39 | |||
| 40 | public static function changeActor($actor) { |
||
| 42 | } |
||
| 43 | } |
||
| 44 |