Skip to content

Commit a6aedf4

Browse files
committed
phpstan.neon: narrow ignore
1 parent b749e9c commit a6aedf4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ parameters:
130130
# for better type safety - the contravariance is by design.
131131
identifier: method.childParameterType
132132
message: '#^Parameter \#1 \$value \([^)]+\) of method Nette\\Forms\\Controls\\\w+::setValue\(\) should be contravariant with parameter \$value \(mixed\) of method Nette\\Forms\\(Control|Controls\\BaseControl)::setValue\(\)$#'
133+
path: src/Forms/Controls
133134

134135
- # Rules::getCallback() returns callable-array [class, method] without value type.
135136
message: '#^Method Nette\\Forms\\Rules::getCallback\(\) return type has no value type specified in iterable type array\.$#'

0 commit comments

Comments
 (0)