original_string: protected function formatBatchNewlines(array $records): string
      {
          $instance = $this;
  
          $oldNewline = $this->appendNewline;
          $this->appendNewline = false;
          array_walk($records, function (&$value, $key) use ($instance) {
              $value = $instance->format($value);
          });
          $this->appendNewline = $oldNewline;
  
          return implode("\n", $records);
      }
code: protected function formatBatchNewlines(array $records): string
      {
          $instance = $this;
  
          $oldNewline = $this->appendNewline;
          $this->appendNewline = false;
          array_walk($records, function (&$value, $key) use ($instance) {
              $value = $instance->format($value);
          });
          $this->appendNewline = $oldNewline;
  
          return implode("\n", $records);
      }
code_tokens: protected function formatBatchNewlines ( array $ records ) : string { $ instance = $ this ; $ oldNewline = $ this -> appendNewline ; $ this -> appendNewline = false ; array_walk ( $ records , function ( & $ value , $ key ) use ( $ instance ) { $ value = $ instance -> format ( $ value ) ; } ) ; $ this -> appendNewline = $ oldNewline ; return implode ( "\n" , $ records ) ; }
docstring: Use new lines to separate records instead of a
  JSON-encoded array.
docstring_tokens: Use new lines to separate records instead of a JSON - encoded array .