Skip to content
Snippets Groups Projects
Unverified Commit 83eb548d authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Typehint Throwable

parent 4077f16a
No related branches found
No related tags found
No related merge requests found
......@@ -331,7 +331,7 @@ class Log implements ILogger {
* @return void
* @since 8.2.0
*/
public function logException($exception, array $context = []) {
public function logException(\Throwable $exception, array $context = []) {
$level = Util::ERROR;
if (isset($context['level'])) {
$level = $context['level'];
......
......@@ -144,5 +144,5 @@ interface ILogger {
* @return void
* @since 8.2.0
*/
public function logException($exception, array $context = []);
public function logException(\Throwable $exception, array $context = []);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment