Skip to content

Commit

Permalink
Set FunctionalTestCase as setVerbosityLevel return type in InteractsW…
Browse files Browse the repository at this point in the history
…ithConsole concern (#51)
  • Loading branch information
gricob authored Dec 9, 2020
1 parent 4770c62 commit bbac868
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Concerns/InteractsWithConsole.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Gricob\FunctionalTestBundle\Enums\VerbosityLevel;
use Gricob\FunctionalTestBundle\Testing\CommandResult;
use Gricob\FunctionalTestBundle\Testing\FunctionalTestCase;
use OutOfBoundsException;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;
Expand Down Expand Up @@ -51,7 +52,7 @@ public function getVerbosityLevel(): VerbosityLevel
return $this->verbosityLevel ?: VerbosityLevel::normal();
}

public function setVerbosityLevel(VerbosityLevel $verbosityLevel): self
public function setVerbosityLevel(VerbosityLevel $verbosityLevel): FunctionalTestCase
{
$this->verbosityLevel = $verbosityLevel;

Expand Down

0 comments on commit bbac868

Please sign in to comment.