/** * Handle any additional comments by ignoring them * * @param array $arguments */ public function handleAdditionalArguments(array $arguments) { $filtered = array(); foreach ($arguments as $name => $value) { if (isset($this->argumentDefinitions[$name])) { $filtered[$name] = $value; } } parent::handleAdditionalArguments($filtered); }