Completed
Branch master (269e9e)
by Björn
06:04
created
src/Standards/BestIt/Sniffs/Formatting/UCVFSortingSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * Loads the tokens for the positions.
89 89
      *
90
-     * @param array $subTokenPoss
90
+     * @param integer[] $subTokenPoss
91 91
      *
92 92
      * @return array
93 93
      */
Please login to merge, or discard this patch.
src/Standards/BestIt/Sniffs/DocTags/AbstractRequiredTagsSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
      * @param string $rule
233 233
      * @param string $tag
234 234
      *
235
-     * @return bool|string
235
+     * @return string|false
236 236
      */
237 237
     private function hasFixCallback(string $rule, string $tag)
238 238
     {
Please login to merge, or discard this patch.
src/Standards/BestIt/Sniffs/DocTags/TagSortingSniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     /**
152 152
      * The callback to sort tokens.
153 153
      *
154
-     * 1. @return goes to the bottom
154
+     * 1. @return integer to the bottom
155 155
      * 2. Single tags are group alphabetically in the top group.
156 156
      * 3. Groups are sorted then by occurrence, that the largest group is the last one before the return.
157 157
      * 4. Same annotations are kept in the order of their code.
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      * @param array $rightToken Provided by usort.
161 161
      * @param array $tagCounts Saves the occurence count for every tag.
162 162
      *
163
-     * @return int
163
+     * @return integer
164 164
      */
165 165
     private function compareTokensForSorting(array $leftToken, array $rightToken, array $tagCounts): int
166 166
     {
Please login to merge, or discard this patch.