Code Duplication    Length = 8-10 lines in 2 locations

src/Formatter/ClassPropertiesFormatter.php 2 locations

@@ 57-64 (lines=8) @@
54
    /**
55
     * {@inheritDoc}
56
     */
57
    public function logCommandReceived(LoggerInterface $logger, $command)
58
    {
59
        $logger->log(
60
            $this->commandReceivedLevel,
61
            'Command received: ' . get_class($command),
62
            ['command' => $this->normalizer->normalize($command)]
63
        );
64
    }
65
66
    /**
67
     * {@inheritDoc}
@@ 69-78 (lines=10) @@
66
    /**
67
     * {@inheritDoc}
68
     */
69
    public function logCommandSucceeded(LoggerInterface $logger, $command, $returnValue)
70
    {
71
        $logger->log(
72
            $this->commandSucceededLevel,
73
            'Command succeeded: ' . get_class($command),
74
            [
75
                'command' => $this->normalizer->normalize($command)
76
            ]
77
        );
78
    }
79
80
    /**
81
     * {@inheritDoc}