Skip to content

Commit fcda3cc

Browse files
committed
Updated docblock
Signed-off-by: Joshua Parker <joshua@joshuaparker.dev>
1 parent 77828c7 commit fcda3cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Console/ConsoleApplication.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Symfony\Component\Console\Input\StringInput;
1515
use Symfony\Component\Console\Output\BufferedOutput;
1616
use Symfony\Component\Console\Output\OutputInterface;
17+
use Throwable;
1718

1819
class ConsoleApplication extends SymfonyApplication
1920
{
@@ -24,6 +25,9 @@ public function __construct(protected Application $codefy)
2425
parent::__construct(name: 'CodefyPHP', version: Application::APP_VERSION);
2526
}
2627

28+
/**
29+
* @throws Throwable
30+
*/
2731
public function run(?InputInterface $input = null, ?OutputInterface $output = null): int
2832
{
2933
$this->getCommandName(input: $input = $input ?: new ArgvInput());
@@ -33,6 +37,7 @@ public function run(?InputInterface $input = null, ?OutputInterface $output = nu
3337

3438
/**
3539
* @throws Exception
40+
* @throws Throwable
3641
*/
3742
public function call($command, array $parameters = [], bool|OutputInterface|null $outputBuffer = null): int
3843
{

0 commit comments

Comments
 (0)