InvalidParamDefault

March 20, 2020 ยท View on GitHub

Emitted when a function parameter default clashes with the type Psalm expects the param to be

<?php

function foo(int $i = false) : void {}