protected function getTemplateVars(TemplateInterface $template)
    {
        $vars = [
            'expected' => $this->match->getExpected(),
            'actual' => $this->match->getActual(),
        ];

        if ($tplVars = $template->getTemplateVars()) {
            $vars = array_merge($vars, $tplVars);
        }

        return $vars;
    }
protected function getTemplateVars(TemplateInterface $template)
    {
        $vars = [
            'expected' => $this->match->getExpected(),
            'actual' => $this->match->getActual(),
        ];

        if ($tplVars = $template->getTemplateVars()) {
            $vars = array_merge($vars, $tplVars);
        }

        return $vars;
    }
protected function getTemplateVars ( TemplateInterface $ template ) { $ vars = [ 'expected' => $ this -> match -> getExpected ( ) , 'actual' => $ this -> match -> getActual ( ) , ] ; if ( $ tplVars = $ template -> getTemplateVars ( ) ) { $ vars = array_merge ( $ vars , $ tplVars ) ; } return $ vars ; }
Applies match results to other template variables.

@param  TemplateInterface $template
@return array
Applies match results to other template variables .