@@ -110,8 +110,8 @@ discard block |
||
| 110 | 110 | if (count($keys)) { |
| 111 | 111 | //nested array ended |
| 112 | 112 | $out_str = "/* end $out_str" |
| 113 | - .'['. \implode('][', $keys) . ']' |
|
| 114 | - . "*/\r\n"; |
|
| 113 | + .'['. \implode('][', $keys) . ']' |
|
| 114 | + . "*/\r\n"; |
|
| 115 | 115 | \array_pop($keys); |
| 116 | 116 | } else { |
| 117 | 117 | //root array ended |
@@ -218,9 +218,9 @@ discard block |
||
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | $signal = 'close'; |
| 221 | - \call_user_func($this->fn_file_output, |
|
| 221 | + \call_user_func($this->fn_file_output, |
|
| 222 | 222 | \compact('signal', 'fh', 'elem_cnt', 'lim_depth', 'root') |
| 223 | - ); |
|
| 223 | + ); |
|
| 224 | 224 | |
| 225 | 225 | if (! $oh) { |
| 226 | 226 | $this->closeOutputFile(); |
@@ -36,15 +36,15 @@ |
||
| 36 | 36 | */ |
| 37 | 37 | public $lim_elements = 10000; |
| 38 | 38 | |
| 39 | - /** |
|
| 40 | - * Model number for generation random Keys for Arrays |
|
| 41 | - * if 0 then array keys will be simple 1,2,3... numeric |
|
| 42 | - * if 1 then array keys will be numeric from min_arr_key to max_arr_key |
|
| 43 | - * if 2 then array keys will be string len from min_arr_key to max_arr_key |
|
| 44 | - * This value setting by function setKeysModel() |
|
| 45 | - * |
|
| 46 | - * @var integer |
|
| 47 | - */ |
|
| 39 | + /** |
|
| 40 | + * Model number for generation random Keys for Arrays |
|
| 41 | + * if 0 then array keys will be simple 1,2,3... numeric |
|
| 42 | + * if 1 then array keys will be numeric from min_arr_key to max_arr_key |
|
| 43 | + * if 2 then array keys will be string len from min_arr_key to max_arr_key |
|
| 44 | + * This value setting by function setKeysModel() |
|
| 45 | + * |
|
| 46 | + * @var integer |
|
| 47 | + */ |
|
| 48 | 48 | protected $keys_model; |
| 49 | 49 | |
| 50 | 50 | /** |