Skip to content

Commit

Permalink
minor #3892 PhpdocNoEmptyReturnFixer - fix docs (keradus)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.12 branch.

Discussion
----------

PhpdocNoEmptyReturnFixer - fix docs

Commits
-------

b84dab7 PhpdocNoEmptyReturnFixer - fix docs
  • Loading branch information
SpacePossum committed Jul 10, 2018
2 parents 61dd60e + b84dab7 commit d3a55b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -1381,7 +1381,7 @@ Choose from the list of available rules:

* **phpdoc_no_empty_return** [@Symfony]

``@return`` void and ``@return null`` annotations should be omitted from
``@return void`` and ``@return null`` annotations should be omitted from
PHPDoc.

* **phpdoc_no_package** [@Symfony]
Expand Down
2 changes: 1 addition & 1 deletion src/Fixer/Phpdoc/PhpdocNoEmptyReturnFixer.php
Expand Up @@ -40,7 +40,7 @@ public function isCandidate(Tokens $tokens)
public function getDefinition()
{
return new FixerDefinition(
'`@return` void and `@return null` annotations should be omitted from PHPDoc.',
'`@return void` and `@return null` annotations should be omitted from PHPDoc.',
[
new CodeSample(
'<?php
Expand Down

0 comments on commit d3a55b3

Please sign in to comment.