File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,6 @@ if ($_SERVER['APP_DEBUG']) {
35
35
}
36
36
}
37
37
38
- $ kernel = new Kernel ($ _SERVER ['APP_ENV ' ], $ _SERVER ['APP_DEBUG ' ]);
38
+ $ kernel = new Kernel ($ _SERVER ['APP_ENV ' ], ( bool ) $ _SERVER ['APP_DEBUG ' ]);
39
39
$ application = new Application ($ kernel );
40
40
$ application ->run ($ input );
Original file line number Diff line number Diff line change 20
20
Request::setTrustedHosts ([$ trustedHosts ]);
21
21
}
22
22
23
- $ kernel = new Kernel ($ _SERVER ['APP_ENV ' ], $ _SERVER ['APP_DEBUG ' ]);
23
+ $ kernel = new Kernel ($ _SERVER ['APP_ENV ' ], ( bool ) $ _SERVER ['APP_DEBUG ' ]);
24
24
$ request = Request::createFromGlobals ();
25
25
$ response = $ kernel ->handle ($ request );
26
26
$ response ->send ();
Original file line number Diff line number Diff line change 20
20
Request::setTrustedHosts ([$ trustedHosts ]);
21
21
}
22
22
23
- $ kernel = new Kernel ($ _SERVER ['APP_ENV ' ], $ _SERVER ['APP_DEBUG ' ]);
23
+ $ kernel = new Kernel ($ _SERVER ['APP_ENV ' ], ( bool ) $ _SERVER ['APP_DEBUG ' ]);
24
24
$ request = Request::createFromGlobals ();
25
25
$ response = $ kernel ->handle ($ request );
26
26
$ response ->send ();
You can’t perform that action at this time.
0 commit comments