mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 10:07:52 +01:00
12 lines
156 B
Markdown
12 lines
156 B
Markdown
# DuplicateFunction
|
|
|
|
Emitted when a function is defined twice
|
|
|
|
```php
|
|
<?php
|
|
|
|
function foo() : void {}
|
|
function bar() : void {}
|
|
function foo() : void {}
|
|
```
|