Skip to content

[Console] fix typo in phpdoc #27777

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2018
Merged

[Console] fix typo in phpdoc #27777

merged 1 commit into from
Jul 9, 2018

Conversation

Tobion
Copy link
Contributor

@Tobion Tobion commented Jun 29, 2018

Q A
Branch? 4.1 (#26847)
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

@@ -42,7 +42,7 @@ public function write($messages, $newline = false, $options = 0);
/**
* Writes a message to the output and adds a newline at the end.
*
* @param string|iterable $messages The message as an iterable of lines of a single string
* @param string|iterable $messages The message as an iterable of lines or a single string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/lines/string/ also?

Copy link
Contributor Author

@Tobion Tobion Jun 29, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case the strings are output as lines (writeLn). But I don't mind to change it as well if you want.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that'd be consistent IMHO

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with this suggestion too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reading, I'd prefer to keep "lines" above, don't you think?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I prefer talking about php types only, but no strong opinion really.

@nicolas-grekas nicolas-grekas changed the base branch from 4.1 to 2.8 July 9, 2018 12:57
@nicolas-grekas nicolas-grekas modified the milestones: 4.1, 2.8 Jul 9, 2018
@nicolas-grekas
Copy link
Member

Thank you @Tobion.

@nicolas-grekas nicolas-grekas merged commit 7aa4557 into 2.8 Jul 9, 2018
nicolas-grekas added a commit that referenced this pull request Jul 9, 2018
This PR was merged into the 2.8 branch.

Discussion
----------

[Console] fix typo in phpdoc

| Q             | A
| ------------- | ---
| Branch?       | 4.1 (#26847)
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

7aa4557 [Console] fix typo in phpdoc
@nicolas-grekas nicolas-grekas deleted the Tobion-patch-1 branch July 9, 2018 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants