Skip to content

Commit c067018

Browse files
committed
fixup! misc
1 parent 9739afd commit c067018

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Command/DuplicatedDefinitionsCommand.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,11 @@ protected function execute(InputInterface $input, OutputInterface $output): int
111111
$this->symfonyStyle->warning('Found duplicated class classMethod contents');
112112

113113
foreach ($classAndMethods as $classMethodContextDefinition) {
114-
$this->symfonyStyle->writeln(' * ' . $className . '::' . $methodName);
115-
$this->symfonyStyle->writeln('in ' . $filepath . ':' . $methodLine);
114+
/** @var ClassMethodContextDefinition $classMethodContextDefinition */
115+
$this->symfonyStyle->writeln(' * ' . $classMethodContextDefinition->getClass() . '::' . $classMethodContextDefinition->getMethodName());
116+
$this->symfonyStyle->writeln('in ' . $classMethodContextDefinition->getFilePath() . ':' . $classMethodContextDefinition->getMethodLine());
117+
118+
$this->symfonyStyle->writeln('Mask: ' . $classMethodContextDefinition->getMask());
116119
$this->symfonyStyle->newLine();
117120
}
118121
}

0 commit comments

Comments
 (0)