mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Remove unnecessary class declarations in docs
This commit is contained in:
parent
78cc1786c8
commit
a8ab972889
@ -123,8 +123,6 @@ class A {
|
||||
Emitted when conditional doesn't make sense given the docblock types supplied.
|
||||
|
||||
```php
|
||||
class A {}
|
||||
|
||||
/**
|
||||
* @param string $s
|
||||
*
|
||||
@ -1509,8 +1507,6 @@ Emitted when conditional is redundant given information supplied in one or more
|
||||
This may be desired (e.g. when checking user input) so is distinct from RedundantCondition, which only applies to non-docblock types.
|
||||
|
||||
```php
|
||||
class A {}
|
||||
|
||||
/**
|
||||
* @param string $s
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user