Skip to content

Commit c141458

Browse files
authored
Improve Command (#5879)
1 parent c45bf78 commit c141458

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/Concerns/InteractsWithIO.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,14 @@
2020
use Symfony\Component\Console\Output\OutputInterface;
2121
use Symfony\Component\Console\Question\ChoiceQuestion;
2222
use Symfony\Component\Console\Question\Question;
23-
use Symfony\Component\Console\Style\OutputStyle;
2423
use Symfony\Component\Console\Style\SymfonyStyle;
2524

2625
trait InteractsWithIO
2726
{
2827
protected ?InputInterface $input = null;
2928

3029
/**
31-
* @var null|OutputInterface|SymfonyStyle
30+
* @var null|SymfonyStyle
3231
*/
3332
protected ?OutputInterface $output = null;
3433

@@ -380,16 +379,17 @@ public function setInput(InputInterface $input)
380379

381380
/**
382381
* Set the output interface implementation.
382+
* @param SymfonyStyle $output
383383
*/
384-
public function setOutput(OutputStyle $output)
384+
public function setOutput($output)
385385
{
386386
$this->output = $output;
387387
}
388388

389389
/**
390390
* Get the output implementation.
391391
*
392-
* @return OutputStyle
392+
* @return null|SymfonyStyle
393393
*/
394394
public function getOutput()
395395
{

0 commit comments

Comments
 (0)