@faishal it might be better to use `array_fill` here:

```php
$record__in_format = '(' . join( ',' array_fill( 0, count( $record__in ), '%d' ) ) . ')';
```