aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/print_xml_exception.php
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2025-05-14 15:51:42 +0200
committerprovokateurin <kate@provokateurin.de>2025-05-15 00:16:54 +0200
commit82fb8f850828d24f551ad5ef3b8523486e5104df (patch)
tree4b7bf5bcd5e8f37b1a70a9dec1f80729b97ef6e6 /core/templates/print_xml_exception.php
parentc3ddd1da46c9f75071f61d3cf7381570297a74d6 (diff)
downloadnextcloud-server-refactor/rector-core.tar.gz
nextcloud-server-refactor/rector-core.zip
refactor: Extend rector to core/refactor/rector-core
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'core/templates/print_xml_exception.php')
-rw-r--r--core/templates/print_xml_exception.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/templates/print_xml_exception.php b/core/templates/print_xml_exception.php
index 94452d8ae9d..f103e13545f 100644
--- a/core/templates/print_xml_exception.php
+++ b/core/templates/print_xml_exception.php
@@ -1,11 +1,13 @@
<?php
+
+use OCP\IL10N;
+
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2012-2015 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
-
-function print_exception(Throwable $e, \OCP\IL10N $l): void {
+function print_exception(Throwable $e, IL10N $l): void {
p($e->getTraceAsString());
if ($e->getPrevious() !== null) {