PhpSpec\Listener\CollaboratorMethodNotFoundListener::getRealArguments PHP Method

getRealArguments() private method

private getRealArguments ( mixed $prophecyArguments ) : array
$prophecyArguments mixed
return array
    private function getRealArguments($prophecyArguments)
    {
        if ($prophecyArguments instanceof ArgumentsWildcard) {
            return $prophecyArguments->getTokens();
        }
        return array();
    }