Skip to content

Commit 5d05f85

Browse files
committed
formatting
1 parent 87354a6 commit 5d05f85

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/Illuminate/Http/Client/RequestException.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@ public static function dontTruncate()
8080
static::$truncateAt = false;
8181
}
8282

83+
/**
84+
* Prepare the exception message.
85+
*
86+
* @return void
87+
*/
88+
public function report(): void
89+
{
90+
if ($this->hasBeenSummarized) {
91+
return;
92+
}
93+
94+
$this->message = $this->prepareMessage($this->response);
95+
96+
$this->hasBeenSummarized = true;
97+
}
98+
8399
/**
84100
* Prepare the exception message.
85101
*
@@ -98,20 +114,4 @@ protected function prepareMessage(Response $response)
98114

99115
return is_null($summary) ? $message : $message.":\n{$summary}\n";
100116
}
101-
102-
/**
103-
* Prepare the exception message.
104-
*
105-
* @return void
106-
*/
107-
public function report(): void
108-
{
109-
if ($this->hasBeenSummarized) {
110-
return;
111-
}
112-
113-
$this->message = $this->prepareMessage($this->response);
114-
115-
$this->hasBeenSummarized = true;
116-
}
117117
}

0 commit comments

Comments
 (0)