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

Commit c955bec

Browse files
committed
Merge pull request #105 from Moln/patch-1
[DOC][configuring-the-service-manager.md] Fix variable name
2 parents f39c953 + 1a73516 commit c955bec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/book/configuring-the-service-manager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ $serviceManager->addAbstractFactory(new CustomAbstractFactory());
544544
// Add a delegator factory for the DateTime service
545545
$serviceManager->addDelegator(DateTime::class, function ($container, $name, $callback) {
546546
$dateTime = $callback();
547-
$dataTime->setTimezone(new DateTimezone('UTC'));
547+
$dateTime->setTimezone(new DateTimezone('UTC'));
548548
return $dateTime;
549549
});
550550

0 commit comments

Comments
 (0)