Functional\Tests\MathDataProvider::injectErrorCollection PHP Method

injectErrorCollection() public static method

public static injectErrorCollection ( )
    public static function injectErrorCollection()
    {
        $args = [];
        foreach ([new stdClass(), stream_context_create(), [], "str"] as $v) {
            $arg = [2, $v, "1.5", true, null];
            $args[] = [$arg];
            $args[] = [new ArrayIterator($arg)];
        }
        return $args;
    }