diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-03-28 16:13:19 +0100 |
---|---|---|
committer | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2024-04-02 14:16:21 +0200 |
commit | ec5133b739eabc76271789504b4dbb91a534f552 (patch) | |
tree | 880b81f5ebd11b289c67e4bcdd1ecaa41aedbcb4 /lib/public/Files/Events/Node/BeforeNodeRenamedEvent.php | |
parent | b074399a87e764f506550d64f6379738186355c6 (diff) | |
download | nextcloud-server-ec5133b739eabc76271789504b4dbb91a534f552.tar.gz nextcloud-server-ec5133b739eabc76271789504b4dbb91a534f552.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.php | 2 |
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'); } } |