Skip to content

Commit

Permalink
Uses FQN
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Sep 13, 2022
1 parent 7259603 commit 1370d3e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ trait MakesHttpRequests
/**
* The latest test response.
*
* @var TestResponse
* @var \Illuminate\Testing\TestResponse
*/
public $latestResponse;

Expand Down
16 changes: 8 additions & 8 deletions src/Illuminate/Foundation/Testing/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ protected function callBeforeApplicationDestroyedCallbacks()
/**
* This method is called when a test method did not execute successfully.
*
* @param Throwable $exception
* @param \Throwable $exception
* @return void
*/
protected function onNotSuccessfulTest(Throwable $exception): void
Expand Down Expand Up @@ -312,9 +312,9 @@ protected function onNotSuccessfulTest(Throwable $exception): void
/**
* Append an exception to the message of another exception.
*
* @param Throwable $exceptionToAppend
* @param Throwable $exception
* @return Throwable
* @param \Throwable $exceptionToAppend
* @param \Throwable $exception
* @return \Throwable
*/
protected function appendExceptionToException($exceptionToAppend, $exception)
{
Expand All @@ -337,9 +337,9 @@ protected function appendExceptionToException($exceptionToAppend, $exception)
* Append errors to an exception message.
*
* @param array $errors
* @param Throwable $exception
* @param \Throwable $exception
* @param bool $json
* @return Throwable
* @return \Throwable
*/
protected function appendErrorsToException($errors, $exception, $json = false)
{
Expand All @@ -365,8 +365,8 @@ protected function appendErrorsToException($errors, $exception, $json = false)
* Append a message to an exception.
*
* @param string $message
* @param Throwable $exception
* @return Throwable
* @param \Throwable $exception
* @return \Throwable
*/
protected function appendMessageToException($message, $exception)
{
Expand Down

0 comments on commit 1370d3e

Please sign in to comment.