mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 02:47:02 +01:00
13 lines
147 B
Markdown
13 lines
147 B
Markdown
# DuplicateMethod
|
|
|
|
Emitted when a method is defined twice
|
|
|
|
```php
|
|
<?php
|
|
|
|
class A {
|
|
public function foo() {}
|
|
public function foo() {}
|
|
}
|
|
```
|