Skip to content

Commit

Permalink
Merge pull request #248 from styleflasher/backport-#232-to-5.7
Browse files Browse the repository at this point in the history
fix: backport fix to issue #232 to bundle version 5.7
  • Loading branch information
Gaetano Giunta authored Oct 10, 2022
2 parents 2e4bb9f + 91725fe commit 9f5771a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function hasEmbeddedReferences($string)
$regexp = $this->getEmbeddedRegexp();
return (bool) preg_match_all($regexp, $string, $matches);
}

/**
* Returns the $string with eventual refs resolved
*
Expand Down Expand Up @@ -79,12 +79,12 @@ protected function getEmbeddedRegexp()
* Has to be implemented in the class which uses this trait
* @return string
*/
abstract protected function getRegexp();
abstract public function getRegexp();

/**
* Has to be implemented in the class which uses this trait
* @param string $stringIdentifier
* @return mixed
*/
abstract protected function getReferenceValue($stringIdentifier);
abstract public function getReferenceValue($stringIdentifier);
}

0 comments on commit 9f5771a

Please sign in to comment.