Skip to content

Commit

Permalink
Merge 8211c39 into 7c9b2fe
Browse files Browse the repository at this point in the history
  • Loading branch information
nozavroni committed Dec 25, 2016
2 parents 7c9b2fe + 8211c39 commit a176d22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Collection/TabularCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function hasRow($offset)
*/
public function getRow($offset)
{
return $this->getValueAtPosition($offset);
return static::factory($this->getValueAtPosition($offset));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/Collection/TabularCollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function testCollectionGetRow()
'password' => '60a2409dea624661573516a31e3a1ea412076237',
'role' => 'moderator',
'is_active' => false
], $firstrow);
], $firstrow->toArray());
}

/**
Expand Down

0 comments on commit a176d22

Please sign in to comment.