Permalink
Browse files

typo fix; thanks @harikt

  • Loading branch information...
pmjones committed Mar 19, 2013
1 parent 01ba9f7 commit 10a3b2a653674015bca6a36d086ccca061ffcd1a
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -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;
}

0 comments on commit 10a3b2a

Please sign in to comment.