Skip to content

Commit 94ac986

Browse files
committed
minor #15434 Shortening code sample (ThomasLandauer)
This PR was merged into the 4.4 branch. Discussion ---------- 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 ,-) Commits ------- c6ae8e5 Shortening code sample
2 parents e556d26 + c6ae8e5 commit 94ac986

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)