public static function removeDefaultArguments(&$arguments)
    {
        foreach ($arguments as $key => $argument) {
            if ($argument === self::DEFAULT_ARGUMENT) {
                unset($arguments[$key]);
            }
        }
    }
public static function removeDefaultArguments(&$arguments)
    {
        foreach ($arguments as $key => $argument) {
            if ($argument === self::DEFAULT_ARGUMENT) {
                unset($arguments[$key]);
            }
        }
    }
public static function removeDefaultArguments ( & $ arguments ) { foreach ( $ arguments as $ key => $ argument ) { if ( $ argument === self :: DEFAULT_ARGUMENT ) { unset ( $ arguments [ $ key ] ) ; } } }
Removes optional arguments.

@param array $arguments The arguments.
Removes optional arguments .