minor #26604 [Console] Fix docblock of DescriptorInterface::describe (codedmonkey)

This PR was merged into the 2.7 branch.

Discussion
----------

[Console] Fix docblock of DescriptorInterface::describe

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes?

This might be the smallest commit ever, but I came across this docblock which seems to be incorrectly copied from 7101893b51/src/Symfony/Component/Console/Descriptor/Descriptor.php (L74) and it threw me off guard for a moment when I read it.

I can see more improvements being made (like mentioning the `InvalidArgumentException`) but I didn't want to overdo it.

Commits
-------

dad27b0b2a [Console] Fix docblock of DescriptorInterface::describe
This commit is contained in:
Fabien Potencier 2018-03-19 22:10:49 +01:00
commit 019590de42
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ use Symfony\Component\Console\Output\OutputInterface;
interface DescriptorInterface
{
/**
* Describes an InputArgument instance.
* Describes an object if supported.
*
* @param OutputInterface $output
* @param object $object