| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 2.0625 |
| Changes | 0 | ||
| 1 | <?php |
||
| 54 | 26 | public function unserialize($value) |
|
| 55 | { |
||
| 56 | 26 | if (self::$_exists_igbinary === true) { |
|
| 57 | /** @noinspection PhpUndefinedFunctionInspection */ |
||
| 58 | /** @noinspection PhpComposerExtensionStubsInspection */ |
||
| 59 | return \igbinary_unserialize($value); |
||
| 60 | } |
||
| 61 | |||
| 62 | // fallback |
||
| 63 | 26 | return \unserialize($value, $this->unserialize_options); |
|
| 64 | } |
||
| 65 | |||
| 74 |