Skip to content

Commit

Permalink
Merge pull request JetBrains#574 from kukulich/parameter-name
Browse files Browse the repository at this point in the history
Make SplFileObject::fputcsv() parameter name compatible with PHP documentation
  • Loading branch information
pestretsov authored Apr 24, 2019
2 parents 707d763 + 4fdadba commit b8ff531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SPL/SPL_c1.php
Original file line number Diff line number Diff line change
Expand Up @@ -667,12 +667,12 @@ public function fgetcsv ($delimiter = ",", $enclosure = "\"", $escape = "\\") {}
* @param string $enclosure [optional] <p>
* The field enclosure character (one character only). Defaults as a double quotation mark or the value set using <b>SplFileObject::setCsvControl</b>.
* </p>
* @param string $escape_char The optional escape_char parameter sets the escape character (one character only).
* @param string $escape The optional escape parameter sets the escape character (one character only).
* @return int Returns the length of the written string or FALSE on failure.
* @since 5.4.0
*</p>
*/
public function fputcsv (array $fields, $delimiter = ',' , $enclosure = '"', $escape_char = "\\") {}
public function fputcsv (array $fields, $delimiter = ',' , $enclosure = '"', $escape = "\\") {}

/**
* Set the delimiter and enclosure character for CSV
Expand Down

0 comments on commit b8ff531

Please sign in to comment.