Skip to content

Commit

Permalink
Merge pull request aws#676 from NSmithUK/master
Browse files Browse the repository at this point in the history
Use late static binding for self instantiating the DynamoDb SessionHandler
  • Loading branch information
jeremeamia committed Jul 7, 2015
2 parents f2bed7e + 81f3fbb commit 22b04ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DynamoDb/SessionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static function fromClient(DynamoDbClient $client, array $config = [])
$connection = new StandardSessionConnection($client, $config);
}

return new self($connection);
return new static($connection);
}

/**
Expand Down

0 comments on commit 22b04ab

Please sign in to comment.