By complex structure I mean the nesting of arrays.

As I read it if line 14 was changed to the following then we could also avoid the map/shift of arrays above:

```php
$params['order_info_long'][] = $debt_id;
```