Skip to content

Commit c6ae8e5

Browse files
Shortening code sample
It's strange that the "easy" way (below) looks twice as long as the "hard" way (above). So I'm removing two unnecessary lines, at least ,-)
1 parent e556d26 commit c6ae8e5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

logging/monolog_console.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ The example above could then be rewritten as::
4242
use Symfony\Component\Console\Command\Command;
4343
use Symfony\Component\Console\Input\InputInterface;
4444
use Symfony\Component\Console\Output\OutputInterface;
45-
// ...
4645

4746
class YourCommand extends Command
4847
{
@@ -56,7 +55,6 @@ The example above could then be rewritten as::
5655
protected function execute(InputInterface $input, OutputInterface $output)
5756
{
5857
$this->logger->debug('Some info');
59-
// ...
6058
$this->logger->notice('Some more info');
6159
}
6260
}

0 commit comments

Comments
 (0)