mirror of
https://github.com/danog/psalm.git
synced 2024-12-05 21:19:03 +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() {}
|
|
}
|
|
```
|