8000 Tweaks · symfony/symfony-docs@8192452 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8192452

Browse files
committed
Tweaks
1 parent 2ccf6a8 commit 8192452

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

console.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ You can optionally define a description, help message and the
174174
.. deprecated:: 6.1
175175

176176
The static property ``$defaultDescription`` was deprecated in Symfony 6.1.
177-
Declare your command description with the ``#[AsCommand]`` attribute
178-
instead.
177+
Instead, use the ``#[AsCommand]`` attribute to define the optional command
178+
description.
179179

180180
The ``configure()`` method is called automatically at the end of the command
181181
constructor. If your command defines its own constructor, set the properties
@@ -243,7 +243,7 @@ this is already done for you, thanks to :ref:`autoconfiguration <services-autoco
243243
.. deprecated:: 6.1
244244

245245
The static property ``$defaultName`` was deprecated in Symfony 6.1.
246-
Declare your command name with the ``#[AsCommand]`` attribute instead.
246+
Define your command name with the ``#[AsCommand]`` attribute instead.
247247

248248
Running the Command
249249
~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)
0