File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
src/Illuminate/Http/Client Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments