protected function getTemplateStrings()
    {
        $default = 'Expected {{actual}} to have a{{deep}}property {{key}}';
        $negated = 'Expected {{actual}} to not have a{{deep}}property {{key}}';

        if ($this->getValue() && $this->isActualValueSet()) {
            $default = 'Expected {{actual}} to have a{{deep}}property {{key}} of {{value}}, but got {{actualValue}}';
            $negated = 'Expected {{actual}} to not have a{{deep}}property {{key}} of {{value}}';
        }

        $deep = ' ';
        if ($this->isDeep()) {
            $deep = ' deep ';
        }

        return str_replace('{{deep}}', $deep, [$default, $negated]);
    }
protected function getTemplateStrings()
    {
        $default = 'Expected {{actual}} to have a{{deep}}property {{key}}';
        $negated = 'Expected {{actual}} to not have a{{deep}}property {{key}}';

        if ($this->getValue() && $this->isActualValueSet()) {
            $default = 'Expected {{actual}} to have a{{deep}}property {{key}} of {{value}}, but got {{actualValue}}';
            $negated = 'Expected {{actual}} to not have a{{deep}}property {{key}} of {{value}}';
        }

        $deep = ' ';
        if ($this->isDeep()) {
            $deep = ' deep ';
        }

        return str_replace('{{deep}}', $deep, [$default, $negated]);
    }
protected function getTemplateStrings ( ) { $ default = 'Expected {{actual}} to have a{{deep}}property {{key}}' ; $ negated = 'Expected {{actual}} to not have a{{deep}}property {{key}}' ; if ( $ this -> getValue ( ) && $ this -> isActualValueSet ( ) ) { $ default = 'Expected {{actual}} to have a{{deep}}property {{key}} of {{value}}, but got {{actualValue}}' ; $ negated = 'Expected {{actual}} to not have a{{deep}}property {{key}} of {{value}}' ; } $ deep = ' ' ; if ( $ this -> isDeep ( ) ) { $ deep = ' deep ' ; } return str_replace ( '{{deep}}' , $ deep , [ $ default , $ negated ] ) ; }
Returns the strings used in creating the template for the matcher.

@return array
Returns the strings used in creating the template for the matcher .