| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 53 | 3 | private static function &getFromContext() |
|
| 54 | { |
||
| 55 | 3 | if (static::$context !== null) { |
|
| 56 | 1 | if (!isset(static::$data[static::$context])) { |
|
| 57 | 1 | static::$data[static::$context] = []; |
|
| 58 | } |
||
| 59 | 1 | return static::$data[static::$context]; |
|
| 60 | } |
||
| 61 | |||
| 62 | 3 | return static::$data; |
|
| 63 | } |
||
| 71 |