summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Modifier/QueryFilter.php10
-rw-r--r--src/Reader.php6
2 files changed, 5 insertions, 11 deletions
diff --git a/src/Modifier/QueryFilter.php b/src/Modifier/QueryFilter.php
index 39eecaf..176517b 100644
--- a/src/Modifier/QueryFilter.php
+++ b/src/Modifier/QueryFilter.php
@@ -71,16 +71,6 @@ trait QueryFilter
protected $returnType = AbstractCsv::TYPE_ARRAY;
/**
- * Returns the return type for the next fetch call
- *
- * @return int
- */
- public function getReturnType()
- {
- return $this->returnType;
- }
-
- /**
* Set the return type for the next fetch call
*
* @param int $type
diff --git a/src/Reader.php b/src/Reader.php
index 161ffa9..f71c43f 100644
--- a/src/Reader.php
+++ b/src/Reader.php
@@ -264,7 +264,11 @@ class Reader extends AbstractCsv
return $offset_or_keys;
}
- $$offset_or_keys = $this->filterInteger($offset_or_keys, 0, 'the row index must be a positive integer, 0 or a non empty array');
+ $offset_or_keys = $this->filterInteger(
+ $offset_or_keys,
+ 0,
+ 'the row index must be a positive integer, 0 or a non empty array'
+ );
$keys = $this->getRow($offset_or_keys);
$this->assertValidAssocKeys($keys);
$filterOutRow = function ($row, $rowIndex) use ($offset_or_keys) {