Skip to content

Commit

Permalink
typo fix; thanks @harikt
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul M. Jones committed Mar 19, 2013
1 parent 01ba9f7 commit 10a3b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ class ModelFactory

public function newInstance($model_name)
{
$factory = $this->map($model_name);
$factory = $this->map[$model_name];
$model = $factory();
return $model;
}
Expand Down

0 comments on commit 10a3b2a

Please sign in to comment.