mirror of
https://github.com/danog/psalm.git
synced 2024-12-17 11:56:59 +01:00
189 B
189 B
DuplicateParam
Emitted when a function has a param defined twice
<?php
function foo(int $b, string $b) {}
Why this is bad
The above code produces a fatal error in PHP.