File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ protected function format(Throwable $error): string
1515 {
1616 ob_start ();
1717 imagegif ($ this ->createImage ($ error ));
18- return ob_get_clean ();
18+ return ( string ) ob_get_clean ();
1919 }
2020}
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ protected function format(Throwable $error): string
1515 {
1616 ob_start ();
1717 imagejpeg ($ this ->createImage ($ error ));
18- return ob_get_clean ();
18+ return ( string ) ob_get_clean ();
1919 }
2020}
Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ protected function format(Throwable $error): string
1919 'message ' => $ error ->getMessage (),
2020 ];
2121
22- return json_encode ($ json );
22+ return ( string ) json_encode ($ json );
2323 }
2424}
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ protected function format(Throwable $error): string
1515 {
1616 ob_start ();
1717 imagepng ($ this ->createImage ($ error ));
18- return ob_get_clean ();
18+ return ( string ) ob_get_clean ();
1919 }
2020}
You can’t perform that action at this time.
0 commit comments