diff --git a/src/Framework/TestCase.php b/src/Framework/TestCase.php index 048587baba0..ffbdf921f04 100644 --- a/src/Framework/TestCase.php +++ b/src/Framework/TestCase.php @@ -1004,7 +1004,7 @@ protected function verifyMockObjects() if ($this->prophet !== null) { try { $this->prophet->checkPredictions(); - } catch (Throwable $t) { + } catch (Throwable $e) { /* Intentionally left empty */ } catch (Exception $e) { /* Intentionally left empty */