summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Config/Controls.php4
-rw-r--r--src/Config/Output.php2
-rw-r--r--src/Modifier/QueryFilter.php2
-rw-r--r--src/Modifier/RowFilter.php2
-rw-r--r--src/Reader.php2
-rw-r--r--src/Writer.php6
6 files changed, 10 insertions, 8 deletions
diff --git a/src/Config/Controls.php b/src/Config/Controls.php
index 92e177d..94ef968 100644
--- a/src/Config/Controls.php
+++ b/src/Config/Controls.php
@@ -69,11 +69,11 @@ trait Controls
abstract public function getIterator();
/**
- * Sets the field delimeter
+ * Sets the field delimiter
*
* @param string $delimiter
*
- * @throws InvalidArgumentException If $delimeter is not a single character
+ * @throws InvalidArgumentException If $delimiter is not a single character
*
* @return $this
*/
diff --git a/src/Config/Output.php b/src/Config/Output.php
index 035f444..1bddfe3 100644
--- a/src/Config/Output.php
+++ b/src/Config/Output.php
@@ -218,6 +218,8 @@ trait Output
/**
* Convert Csv file into UTF-8
*
+ * @param Iterator $iterator
+ *
* @return Iterator
*/
protected function convertToUtf8(Iterator $iterator)
diff --git a/src/Modifier/QueryFilter.php b/src/Modifier/QueryFilter.php
index d6eef72..7573884 100644
--- a/src/Modifier/QueryFilter.php
+++ b/src/Modifier/QueryFilter.php
@@ -77,7 +77,7 @@ trait QueryFilter
}
/**
- * Tell whethe we can strip or not the leading BOM sequence
+ * Tell whether we can strip or not the leading BOM sequence
*
* @return bool
*/
diff --git a/src/Modifier/RowFilter.php b/src/Modifier/RowFilter.php
index 06137ff..0205ee4 100644
--- a/src/Modifier/RowFilter.php
+++ b/src/Modifier/RowFilter.php
@@ -140,7 +140,7 @@ trait RowFilter
}
/**
- * Remove all registered validatior
+ * Remove all registered validators
*
* @return $this
*/
diff --git a/src/Reader.php b/src/Reader.php
index 9160074..e4b5deb 100644
--- a/src/Reader.php
+++ b/src/Reader.php
@@ -29,7 +29,7 @@ use SplFileObject;
class Reader extends AbstractCsv
{
/**
- * @ihneritdoc
+ * @inheritdoc
*/
protected $stream_filter_mode = STREAM_FILTER_READ;
diff --git a/src/Writer.php b/src/Writer.php
index c25143d..571d021 100644
--- a/src/Writer.php
+++ b/src/Writer.php
@@ -29,7 +29,7 @@ class Writer extends AbstractCsv
use RowFilter;
/**
- * @ihneritdoc
+ * @inheritdoc
*/
protected $stream_filter_mode = STREAM_FILTER_WRITE;
@@ -55,7 +55,7 @@ class Writer extends AbstractCsv
protected static $fputcsv_param_count;
/**
- * @ihneritdoc
+ * @inheritdoc
*/
protected function __construct($path, $open_mode = 'r+')
{
@@ -79,7 +79,7 @@ class Writer extends AbstractCsv
*
* a simple wrapper method around insertOne
*
- * @param Traversable|array $rows a multidimentional array or a Traversable object
+ * @param Traversable|array $rows a multidimensional array or a Traversable object
*
* @throws InvalidArgumentException If the given rows format is invalid
*