Skip to content

Commit

Permalink
Merge pull request #4 from fathomminds/staging
Browse files Browse the repository at this point in the history
Fix for Lumen dependency injection
  • Loading branch information
fathomminds committed Mar 19, 2017
2 parents e6b4875 + 64c3572 commit f137b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RestModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ abstract class RestModel implements IRestModel
protected $restObjectClass;
protected $restObject;

public function __construct($restObject)
public function __construct($restObject = null)
{
if ($restObject === null) {
$reflectionHelper = new ReflectionHelper;
Expand Down

0 comments on commit f137b39

Please sign in to comment.