Skip to content

Commit

Permalink
Improve docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Oct 9, 2019
1 parent 8effaf0 commit 2d3d3d1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ All Notable changes to `Csv` will be documented in this file

### Fixed

- Nothing
- bug fix issue [#358](https://github.com/thephpleague/csv/pull/358) with the escape mechanism polyfill fixed by [on2](https://github.com/on2)

### Removed

Expand Down
2 changes: 1 addition & 1 deletion src/Polyfill/EmptyEscapeParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ final class EmptyEscapeParser
private static $trim_mask;

/**
* @var string|bool
* @var string|false
*/
private static $line;

Expand Down
6 changes: 3 additions & 3 deletions src/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public function setFlags(int $flags)
*
* @see http://php.net/manual/en/splfileobject.fputcsv.php
*
* @return int|bool
* @return int|false
*/
public function fputcsv(array $fields, string $delimiter = ',', string $enclosure = '"', string $escape = '\\')
{
Expand Down Expand Up @@ -393,7 +393,7 @@ public function current()
/**
* Retrieves the current line as a CSV Record.
*
* @return array|bool
* @return array|false
*/
protected function getCurrentRecord()
{
Expand Down Expand Up @@ -492,7 +492,7 @@ public function fseek(int $offset, int $whence = SEEK_SET)
*
* @see http://php.net/manual/en/splfileobject.fwrite.php
*
* @return int|bool
* @return int|false
*/
public function fwrite(string $str, int $length = null)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function insertOne(array $record): int
*
* @see https://php.net/manual/en/function.fputcsv.php
*
* @return int|bool
* @return int|false
*/
protected function addRecord(array $record)
{
Expand Down Expand Up @@ -204,7 +204,7 @@ protected function addRecord(array $record)
*
* The LF character is added at the end of each record to mimic fputcsv behavior
*
* @return int|bool
* @return int|false
*/
protected function addRFC4180CompliantRecord(array $record)
{
Expand Down

0 comments on commit 2d3d3d1

Please sign in to comment.