Code Duplication    Length = 5-5 lines in 3 locations

src/Handler/BindCommandHandler.php 1 location

@@ 107-111 (lines=5) @@
104
                    $bindingStatePrinted = true;
105
                }
106
107
                if ($printModuleName) {
108
                    $prefix = $printBindingState ? '    ' : '';
109
                    $io->writeLine(sprintf('%sModule: %s', $prefix, $moduleName));
110
                    $io->writeLine('');
111
                }
112
113
                $this->printBindingTable($io, $descriptors, $indentation, BindingState::ENABLED === $bindingState);
114

src/Handler/MapCommandHandler.php 1 location

@@ 129-133 (lines=5) @@
126
                    $statePrinted = true;
127
                }
128
129
                if ($printModuleName) {
130
                    $prefix = $printState ? '    ' : '';
131
                    $io->writeLine(sprintf('%sModule: %s', $prefix, $moduleName));
132
                    $io->writeLine('');
133
                }
134
135
                $this->printMappingTable($io, $mappings, $indentation, PathMappingState::ENABLED === $state);
136

src/Handler/TypeCommandHandler.php 1 location

@@ 104-108 (lines=5) @@
101
                    $printBindAdvice = true;
102
                }
103
104
                if ($printModuleName) {
105
                    $prefix = $printStates ? '    ' : '';
106
                    $io->writeLine("{$prefix}Module: $moduleName");
107
                    $io->writeLine('');
108
                }
109
110
                $styleTag = BindingTypeState::ENABLED === $state ? null : 'bad';
111