Skip to content

Commit

Permalink
Merge pull request mongodb#14 from leekaiwei/master
Browse files Browse the repository at this point in the history
Fixes mongodb#13 and closes mongodb#13
  • Loading branch information
mnphpexpert committed Aug 1, 2013
2 parents 7d9f141 + 296fe6c commit b95d212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jenssegers/Mongodb/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ abstract class Model extends \Illuminate\Database\Eloquent\Model {
* @param DateTime|int $value
* @return string
*/
protected function fromDateTime($value)
public function fromDateTime($value)
{
// Convert DateTime to MongoDate
if ($value instanceof DateTime)
Expand Down

0 comments on commit b95d212

Please sign in to comment.