Skip to content

Commit

Permalink
Fixed a type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
byjg committed May 11, 2016
1 parent 3055423 commit 5a5d85b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Repository/IteratorFilter.php
Expand Up @@ -240,10 +240,10 @@ private function getStrSqlRelation($name, $relation, $value, &$param)

/**
*
* @param string[] $array
* @param SingleRow $singleRow
* @return string
*/
private function evalString($array)
private function evalString(SingleRow $singleRow)
{
$result = array();
$finalResult = false;
Expand All @@ -261,7 +261,7 @@ private function evalString($array)
$relation = $filter[2];
$value = $filter[3];

$field = $array->getField($name);
$field = $singleRow->getField($name);

if (!is_array($field)) $field = array($field);

Expand Down

0 comments on commit 5a5d85b

Please sign in to comment.