BUGFIX: Fix visibility of method
* Only this way we can overwrite the content and provide the more specific class name replacement.
This commit is contained in:
parent
1eb52ff975
commit
cec410eabe
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ trait ClassnameCheckerTrait
|
||||||
* @param string $classname
|
* @param string $classname
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
private function getTokenForReplacement($classname)
|
protected function getTokenForReplacement($classname)
|
||||||
{
|
{
|
||||||
return $classname;
|
return $classname;
|
||||||
}
|
}
|
||||||
|
|
|
@ -83,7 +83,7 @@ class Typo3Update_Sniffs_LegacyClassnames_DocCommentSniff implements PHP_CodeSni
|
||||||
* @param string $classname
|
* @param string $classname
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getTokenForReplacement($classname)
|
protected function getTokenForReplacement($classname)
|
||||||
{
|
{
|
||||||
$token = explode(' ', $this->originalTokenContent);
|
$token = explode(' ', $this->originalTokenContent);
|
||||||
$token[0] = $classname;
|
$token[0] = $classname;
|
||||||
|
|
Loading…
Reference in a new issue