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

Commit c606797

Browse files
committed
s/this/container/ in a factory example
1 parent d374f7c commit c606797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/book/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class YourControllerFactory
160160
{
161161
public function __invoke(ContainerInterface $container)
162162
{
163-
return new YourController($this->get('Db\ApplicationAdapter'));
163+
return new YourController($container->get('Db\ApplicationAdapter'));
164164
}
165165
}
166166
```

0 commit comments

Comments
 (0)