1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
psalm/docs/running_psalm/issues/DuplicateParam.md
2020-03-21 10:13:11 -04:00

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.