Getting the order_id and exiting a cover order

Does the placeOrder() return an array or an object? The sample file uses an index while the example in the API file, uses a property.

And is this the correct code to exit a cover order?

$kite->exitOrder( 'co', '151220000000000', array( 'parent_order_id' => '151220000000000' ) );
This discussion has been closed.