/** * Append new lines to an original line of the file. * * @param int $originalLine * @param array $lines * * @return void */ public function appendToLine($originalLine, array $lines) { // Why is this one method different to the rest? $originalLine++; $this->buffer->insert($this->createLineNumber($originalLine), $lines); }