Back to Psalm

MixedArgument

docs/running_psalm/issues/MixedArgument.md

6.16.1158 B
Original Source

MixedArgument

Emitted when Psalm cannot determine the type of an argument

php
<?php

function takesInt(int $i) : void {}
takesInt($GLOBALS['foo']);