mirror of
https://github.com/danog/psalm.git
synced 2024-12-11 16:59:45 +01:00
303 B
303 B
RedundantFlag
Emitted when a flag is redundant. e.g. FILTER_NULL_ON_FAILURE won't do anything when the default option is specified
<?php
$x = filter_input(INPUT_GET, 'hello', FILTER_VALIDATE_DOMAIN, array('options' => array('default' => 'world.com'), 'flags' => FILTER_NULL_ON_FAILURE));