Skip to content

Commit

Permalink
Merge 4ab4be4 into 564a92a
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhenry committed Sep 4, 2015
2 parents 564a92a + 4ab4be4 commit 206c46b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion api/app/Services/ModelFactoryInstance.php
Expand Up @@ -181,7 +181,7 @@ public function setCollection(Collection $collection)
*/
private function built()
{
if ($this->loadedEntities){
if ($this->loadedEntities) {
return $this->loadedEntities;
}

Expand Down
2 changes: 0 additions & 2 deletions api/tests/ModelFactoryTest.php
Expand Up @@ -199,7 +199,5 @@ public function testRepeatedRetrievalFromBuiltFactory()
$entityTransformed = $factory->transformed();

$this->assertEquals($entity->first()->entity_id, $entityTransformed[0]['entityId']);

}

}

0 comments on commit 206c46b

Please sign in to comment.