| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 26 | 4 | protected function decodeDictionary(): ArrayObject |
|
| 27 | { |
||
| 28 | 4 | $previousState = $this->sortDictionary; |
|
| 29 | 4 | $this->sortDictionary = false; |
|
| 30 | 4 | $dictionary = parent::decodeDictionary(); |
|
| 31 | 4 | if ($this->sortDictionary) |
|
| 32 | { |
||
| 33 | 4 | $dictionary->ksort(SORT_STRING); |
|
| 34 | } |
||
| 35 | 4 | $this->sortDictionary = $previousState; |
|
| 36 | |||
| 37 | 4 | return $dictionary; |
|
| 38 | } |
||
| 44 | } |