File tree Expand file tree Collapse file tree 2 files changed +24
-24
lines changed
src/Standards/Squiz/Tests/Commenting Expand file tree Collapse file tree 2 files changed +24
-24
lines changed Original file line number Diff line number Diff line change @@ -1047,18 +1047,6 @@ public function ignored() {
10471047 * @throws Exception If any other error occurs. */
10481048function throwCommentOneLine () {}
10491049
1050- /**
1051- * Using generic as a type hint should satisfy a specified object parameter type.
1052- * @see https://phpstan.org/blog/generics-in-php-using-phpdocs
1053- *
1054- * @param Collection<int, string> $values An object with int, string pairs.
1055- *
1056- * @return void
1057- */
1058- public function genericType (Collection $ values ) {
1059-
1060- }// end genericType()
1061-
10621050/**
10631051 * When two adjacent pipe symbols are used (by mistake), the sniff should not throw a PHP Fatal error
10641052 *
@@ -1170,3 +1158,15 @@ function paramVariation3($hasTypeNoComment): void {}
11701158 * @return void
11711159 */
11721160function paramVariation4 ($ hasTypehasComment ): void {}
1161+
1162+ /**
1163+ * Using generic as a type hint should satisfy a specified object parameter type.
1164+ * @see https://phpstan.org/blog/generics-in-php-using-phpdocs
1165+ *
1166+ * @param Collection<int, string> $values An object with int, string pairs.
1167+ *
1168+ * @return void
1169+ */
1170+ public function genericType (Collection $ values ) {
1171+
1172+ }// end genericType()
Original file line number Diff line number Diff line change @@ -1047,18 +1047,6 @@ public function ignored() {
10471047 * @throws Exception If any other error occurs. */
10481048function throwCommentOneLine() {}
10491049
1050- /**
1051- * Using generic as a type hint should satisfy a specified object parameter type.
1052- * @see https://phpstan.org/blog/generics-in-php-using-phpdocs
1053- *
1054- * @param Collection<int, string> $values An object with int, string pairs.
1055- *
1056- * @return void
1057- */
1058- public function genericType(Collection $values) {
1059-
1060- }// end genericType()
1061-
10621050/**
10631051 * When two adjacent pipe symbols are used (by mistake), the sniff should not throw a PHP Fatal error
10641052 *
@@ -1170,3 +1158,15 @@ function paramVariation3($hasTypeNoComment): void {}
11701158 * @return void
11711159 */
11721160function paramVariation4($hasTypehasComment): void {}
1161+
1162+ /**
1163+ * Using generic as a type hint should satisfy a specified object parameter type.
1164+ * @see https://phpstan.org/blog/generics-in-php-using-phpdocs
1165+ *
1166+ * @param Collection<int, string> $values An object with int, string pairs.
1167+ *
1168+ * @return void
1169+ */
1170+ public function genericType(Collection $values) {
1171+
1172+ }// end genericType()
You can’t perform that action at this time.
0 commit comments