File tree Expand file tree Collapse file tree 4 files changed +771
-715
lines changed Expand file tree Collapse file tree 4 files changed +771
-715
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace App \Exceptions ;
4
4
5
- use Exception ;
6
5
use Illuminate \Foundation \Exceptions \Handler as ExceptionHandler ;
6
+ use Throwable ;
7
7
8
8
class Handler extends ExceptionHandler
9
9
{
@@ -32,7 +32,7 @@ class Handler extends ExceptionHandler
32
32
* @param \Exception $exception
33
33
* @return void
34
34
*/
35
- public function report (Exception $ exception )
35
+ public function report (Throwable $ exception )
36
36
{
37
37
parent ::report ($ exception );
38
38
}
@@ -44,7 +44,7 @@ public function report(Exception $exception)
44
44
* @param \Exception $exception
45
45
* @return \Illuminate\Http\Response
46
46
*/
47
- public function render ($ request , Exception $ exception )
47
+ public function render ($ request , Throwable $ exception )
48
48
{
49
49
return parent ::render ($ request , $ exception );
50
50
}
Original file line number Diff line number Diff line change 10
10
"require" : {
11
11
"php" : " ^7.2" ,
12
12
"fideloper/proxy" : " ^4.0" ,
13
- "laravel/framework" : " ^6 .0" ,
14
- "laravel/tinker" : " ^1 .0" ,
15
- "spatie/laravel-medialibrary" : " ^7.0 .0" ,
13
+ "laravel/framework" : " ^7 .0" ,
14
+ "laravel/tinker" : " ^2 .0" ,
15
+ "spatie/laravel-medialibrary" : " ^7.19 .0" ,
16
16
"spatie/laravel-permission" : " ^3.6" ,
17
- "tymon/jwt-auth" : " ^1.0.0"
17
+ "tymon/jwt-auth" : " ^1.0.0" ,
18
+ "laravel/ui" : " ^2.0"
18
19
},
19
20
"require-dev" : {
20
- "facade/ignition" : " ^1.4 " ,
21
+ "facade/ignition" : " ^2.0 " ,
21
22
"fzaninotto/faker" : " ^1.4" ,
22
- "laravel/ui" : " ^1.1" ,
23
23
"mockery/mockery" : " ^1.0" ,
24
- "nunomaduro/collision" : " ^3.0 " ,
25
- "phpunit/phpunit" : " ^8.0 "
24
+ "nunomaduro/collision" : " ^4.1 " ,
25
+ "phpunit/phpunit" : " ^8.5 "
26
26
},
27
27
"config" : {
28
28
"optimize-autoloader" : true ,
You can’t perform that action at this time.
0 commit comments