Skip to content

Commit 23d37a5

Browse files
committed
Simplify the example in good.php
1 parent e3434b1 commit 23d37a5

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

tests/Drupal/good/good.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2009,13 +2009,6 @@ public function &get($instance_id) {
20092009
*
20102010
* Coder issue https://www.drupal.org/project/coder/issues/3516489
20112011
*/
2012-
class TestPhpstanIgnore1 extends BaseMySqlSchema {
2013-
2014-
/**
2015-
* This is the function docblock comment.
2016-
*/
2017-
// @phpstan-ignore-next-line missingType.return
2018-
public function addField($table, $field, $spec, $keys_new = []) {
2019-
}
2020-
2012+
// @phpstan-ignore-next-line missingType.return
2013+
public function ignore_phpstan_comment() {
20212014
}

0 commit comments

Comments
 (0)