Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Console] Fix deprecation when description is null#46608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[Console] Fix deprecation when description is null#46608
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@@ -56,6 +56,7 @@ public function process(ContainerBuilder $container) | |||
foreach ($commandServices as $id => $tags) { | |||
$definition = $container->getDefinition($id); | |||
$definition->addTag($this->noPreloadTag); | |||
/** @var class-string<Command> $class */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This change looks unrelated and should be reverted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Done
str_replace(): Passing null to parametersymfony#3 ($subject) of type array|string is deprecated
ae00115
to7a08b52
CompareGood catch, thanks@HypeMC. |
Fixes
str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
whengetDefaultDescription()
returnsnull
, caused by#46574.