You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -681,6 +681,8 @@ class Example
681
681
- Detects useless nullability of a private property by checking type of all assignments.
682
682
- Works only with natively typehinted properties
683
683
- Recommended to be used with `uselessPrivatePropertyNullability` and `forbidUselessNullableReturn` as removing useless default value may cause useless nullability to be detected
684
+
- PHPStan 1.12 with bleeding edge contains more generic version of this rule under `property.unusedType` error identifier
0 commit comments