Skip to content

Commit a5d6ef5

Browse files
committed
Fix typo in no_superfluous_phpdoc_tags
1 parent d658dc0 commit a5d6ef5

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)