@@ -141,6 +141,9 @@ |
||
| 141 | 141 | return $this->validateListItems(array_slice($keys, $count, count($list) - $count)); |
| 142 | 142 | } |
| 143 | 143 | |
| 144 | + /** |
|
| 145 | + * @param integer[] $array |
|
| 146 | + */ |
|
| 144 | 147 | private function validateListItems($array) |
| 145 | 148 | { |
| 146 | 149 | foreach ($array as $item) { |
@@ -92,13 +92,13 @@ |
||
| 92 | 92 | return $this->validateList($value); |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | - private function convertToArray($value) |
|
| 96 | - { |
|
| 97 | - if (!is_array($value)) { |
|
| 98 | - $value = json_decode(json_encode($value), true); |
|
| 99 | - } |
|
| 100 | - return $value; |
|
| 101 | - } |
|
| 95 | + private function convertToArray($value) |
|
| 96 | + { |
|
| 97 | + if (!is_array($value)) { |
|
| 98 | + $value = json_decode(json_encode($value), true); |
|
| 99 | + } |
|
| 100 | + return $value; |
|
| 101 | + } |
|
| 102 | 102 | |
| 103 | 103 | |
| 104 | 104 | /** |