Skip to content

Commit 892e23c

Browse files
committed
minor #4843 NoSuperfluousPhpdocTagsFixer - fix typo in option description (OndraM)
This PR was merged into the 2.16 branch. Discussion ---------- NoSuperfluousPhpdocTagsFixer - fix typo in option description ```diff - annontation + annotation ``` Commits ------- a5d6ef5 Fix typo in no_superfluous_phpdoc_tags
2 parents d591dde + a5d6ef5 commit 892e23c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ Choose from the list of available rules:
11581158

11591159
- ``allow_mixed`` (``bool``): whether type ``mixed`` without description is allowed
11601160
(``true``) or considered superfluous (``false``); defaults to ``false``
1161-
- ``allow_unused_params`` (``bool``): whether ``param`` annontation without actual
1161+
- ``allow_unused_params`` (``bool``): whether ``param`` annotation without actual
11621162
signature is allowed (``true``) or considered superfluous (``false``);
11631163
defaults to ``false``
11641164
- ``remove_inheritdoc`` (``bool``): remove ``@inheritDoc`` tags; defaults to ``false``

src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ protected function createConfigurationDefinition()
165165
->setAllowedTypes(['bool'])
166166
->setDefault(false)
167167
->getOption(),
168-
(new FixerOptionBuilder('allow_unused_params', 'Whether `param` annontation without actual signature is allowed (`true`) or considered superfluous (`false`)'))
168+
(new FixerOptionBuilder('allow_unused_params', 'Whether `param` annotation without actual signature is allowed (`true`) or considered superfluous (`false`)'))
169169
->setAllowedTypes(['bool'])
170170
->setDefault(false)
171171
->getOption(),

0 commit comments

Comments
 (0)