Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 189 Bytes

DuplicateParam.md

File metadata and controls

13 lines (8 loc) · 189 Bytes

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.