maybe something like

```php
foreach(array($fkTableName . '_id', $fkTableName . '_version') as $fkCol) {
  // body ..
}
```

would ease readability?