Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/105'
Browse files Browse the repository at this point in the history
Close #105
  • Loading branch information
weierophinney committed Apr 13, 2016
2 parents f39c953 + c955bec commit f89f7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/book/configuring-the-service-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ $serviceManager->addAbstractFactory(new CustomAbstractFactory());
// Add a delegator factory for the DateTime service
$serviceManager->addDelegator(DateTime::class, function ($container, $name, $callback) {
$dateTime = $callback();
$dataTime->setTimezone(new DateTimezone('UTC'));
$dateTime->setTimezone(new DateTimezone('UTC'));
return $dateTime;
});

Expand Down

0 comments on commit f89f7d9

Please sign in to comment.