diff --git a/src/Illuminate/Foundation/Testing/TestCase.php b/src/Illuminate/Foundation/Testing/TestCase.php index cb49dff4dbf6..68a4009cb789 100755 --- a/src/Illuminate/Foundation/Testing/TestCase.php +++ b/src/Illuminate/Foundation/Testing/TestCase.php @@ -92,7 +92,7 @@ protected function refreshApplication() /** * Boot the testing helper traits. * - * @return void + * @return array */ protected function setUpTraits() { @@ -113,6 +113,8 @@ protected function setUpTraits() if (isset($uses[WithoutEvents::class])) { $this->disableEventsForAllTests(); } + + return $uses; } /**