mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +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.
|
Emitted when conditional doesn't make sense given the docblock types supplied.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
class A {}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $s
|
* @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.
|
This may be desired (e.g. when checking user input) so is distinct from RedundantCondition, which only applies to non-docblock types.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
class A {}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $s
|
* @param string $s
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user