aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-03-28 16:13:19 +0100
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-04-04 11:45:22 +0200
commit0b332ceac24ee93e82e25ee95841ae6fae3b889b (patch)
tree5c33219f115c05a17cec25e2122ff1cae352e86f /lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php
parent292b903bc283c5a7929e092d8262331606461ef7 (diff)
downloadnextcloud-server-0b332ceac24ee93e82e25ee95841ae6fae3b889b.tar.gz
nextcloud-server-0b332ceac24ee93e82e25ee95841ae6fae3b889b.zip
fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php')
-rw-r--r--lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php b/lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php
index 4c2c566c8c6..7331f750267 100644
--- a/lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php
+++ b/lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php
@@ -35,7 +35,7 @@ class BeforeNodeRenamedEvent extends AbstractNodesEvent {
* @since 28.0.0
* @deprecated 29.0.0 - use OCP\Exceptions\AbortedEventException instead
*/
- public function abortOperation(\Throwable $ex = null) {
+ public function abortOperation(?\Throwable $ex = null) {
throw new AbortedEventException($ex?->getMessage() ?? 'Operation aborted');
}
}