diff --git a/docs/book/configuring-the-service-manager.md b/docs/book/configuring-the-service-manager.md index df924fef..c16b9c70 100644 --- a/docs/book/configuring-the-service-manager.md +++ b/docs/book/configuring-the-service-manager.md @@ -57,7 +57,7 @@ use stdClass; $serviceManager = new ServiceManager([ 'factories' => [ - MyObject::class => MyObjectFactory::class, + stdClass::class => InvokableFactory::class, ], ]); ```