Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Commit2f91e30
authored
[Console][LockableTrait] Remove parent::__construct() from the example which shows how to inject your own LockFactory
In this PRhttps://github.com/symfony/symfony-docs/pull/21507/files , when pointing out that constructor property promotion should not be used when injecting $lockFactory, I also wrongly introduced a `parent::__construct()` call.As in the current example attribute is used and the example command class is no longer extending `Symfony\Component\Console\Command\Command`, the call to the constructor of the parent class is actually wrong.I just wanted to fix this and to apologize for any inconvenience I caused with the back-and-forth related to this issue.1 parentf9c60f4 commit2f91e30
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
| |||
0 commit comments
Comments
(0)