diff --git a/src/Concerns/InteractsWithConsole.php b/src/Concerns/InteractsWithConsole.php index 5f3ef2c..0194e4a 100644 --- a/src/Concerns/InteractsWithConsole.php +++ b/src/Concerns/InteractsWithConsole.php @@ -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; @@ -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;