```php
<?php

// V1

    /**
     * @param string      $filter The name of the imagine filter in effect.
     * @param string|null $path   The path where the original file is expected to be.
     *
     * @return void
     */
    function remove($filter, $path = null);

// V2

    /**
     * @param string[] $filter The name of the imagine filter in effect.
     * @param string[] $path   The path where the original file is expected to be.
     *
     * @return void
     */
    function remove(array $paths, array $filter);
```