Skip to content

Commit 3fbe9f4

Browse files
committed
remove trailing spaces, add missing use statement
1 parent 932c308 commit 3fbe9f4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

components/console/single_command_tool.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ it is possible to remove this need by declaring a single command application::
88
#!/usr/bin/env php
99
<?php // bin/file-counter.php
1010
require __DIR__.'/../vendor/autoload.php';
11-
11+
1212
use Symfony\Component\Console\Input\InputArgument;
1313
use Symfony\Component\Console\Input\InputInterface;
14+
use Symfony\Component\Console\Input\InputOption;
1415
use Symfony\Component\Console\Output\OutputInterface;
1516
use Symfony\Component\Console\SingleCommandApplication;
16-
17+
1718
(new SingleCommandApplication())
1819
->setName('File Counter') // Optional
1920
->setVersion('1.0.0') // Optional
@@ -34,9 +35,9 @@ it is possible to remove this need by declaring a single command application::
3435
})
3536
->run();
3637

37-
Now run it with
38+
Now run it with
3839

39-
php bin/file-counter.php
40+
php bin/file-counter.php
4041

4142
php bin/file-counter.php --all
4243

0 commit comments

Comments
 (0)