1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 17:27:28 +01:00
psalm/docs/running_psalm/issues/DuplicateProperty.md

20 lines
213 B
Markdown
Raw Normal View History

2023-10-08 19:59:08 +02:00
# DuplicateProperty
Emitted when a class property is defined twice
```php
<?php
class Foo
{
public int $foo;
public string $foo;
}
class Bar
{
public int $bar;
public static string $bar;
}
```